Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00554/0.00554, allocations: 97.39 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 199.9 kB / 16.68 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.745/2.745, allocations: 472.7 MB / 0.7453 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 67.89 kB / 1.069 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2562, allocations: 159.9 MB / 1.225 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.003587/0.2598, allocations: 2.705 MB / 1.228 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002777/0.2626, allocations: 1.768 MB / 1.23 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.2628, allocations: 4 kB / 1.23 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.2629, allocations: 51.45 kB / 1.23 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004605/0.2634, allocations: 154.8 kB / 1.23 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008181/0.2642, allocations: 377.9 kB / 1.23 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000566/0.2648, allocations: 494.4 kB / 1.231 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000243/0.2651, allocations: 149.1 kB / 1.231 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002452/0.2653, allocations: 191.2 kB / 1.231 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.2655, allocations: 183.2 kB / 1.231 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.719e-05/0.2656, allocations: 31.98 kB / 1.231 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006384/0.2662, allocations: 455.4 kB / 1.232 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.292e-05/0.2663, allocations: 71.7 kB / 1.232 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.2665, allocations: 195 kB / 1.232 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006108/0.2671, allocations: 0.5407 MB / 1.232 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2671, allocations: 0 / 1.232 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2671, allocations: 0 / 1.232 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.2671, allocations: 0 / 1.232 GB, free: 2.363 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001021/0.2682, allocations: 0.724 MB / 1.233 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.2682, allocations: 15.97 kB / 1.233 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.129e-05/0.2683, allocations: 66.72 kB / 1.233 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008338/0.2691, allocations: 112.6 kB / 1.233 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004005/0.2695, allocations: 311.6 kB / 1.234 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.2696, allocations: 21.03 kB / 1.234 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.885e-05/0.2696, allocations: 32.38 kB / 1.234 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007131/0.2703, allocations: 326.1 kB / 1.234 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.2704, allocations: 0 / 1.234 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/0.2704, allocations: 12 kB / 1.234 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.2704, allocations: 4 kB / 1.234 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000829/0.2712, allocations: 286.4 kB / 1.234 GB, free: 380 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.2728, allocations: 0.8972 MB / 1.235 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009154/0.2738, allocations: 298.4 kB / 1.235 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003787/0.2742, allocations: 132 kB / 1.235 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001434/0.2743, allocations: 93.09 kB / 1.236 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.2743, allocations: 34.5 kB / 1.236 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 1.844e-06/0.2743, allocations: 0 / 1.236 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.001301/0.2757, allocations: 389.2 kB / 1.236 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.2757, allocations: 59.34 kB / 1.236 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003222/0.276, allocations: 345.6 kB / 1.236 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.2761, allocations: 29.7 kB / 1.236 GB, free: 14 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.2762, allocations: 180.8 kB / 1.237 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.277e-05/0.2763, allocations: 95.59 kB / 1.237 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.2764, allocations: 57.92 kB / 1.237 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.2765, allocations: 350.7 kB / 1.237 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003833/0.2769, allocations: 104.5 kB / 1.237 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003601/0.2772, allocations: 117.1 kB / 1.237 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007131/0.278, allocations: 234.2 kB / 1.237 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.278, allocations: 0 / 1.237 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009318/0.2789, allocations: 334 kB / 1.238 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.2789, allocations: 4 kB / 1.238 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2789, allocations: 0 / 1.238 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.279, allocations: 4 kB / 1.238 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004078/0.2794, allocations: 83.86 kB / 1.238 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2794, allocations: 3.938 kB / 1.238 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/0.2797, allocations: 47.72 kB / 1.238 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.2797, allocations: 15.98 kB / 1.238 GB, free: 12.38 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001342/0.2799, allocations: 138.3 kB / 1.238 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.28, allocations: 35.77 kB / 1.238 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.281, allocations: 373.5 kB / 1.238 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.2811, allocations: 4 kB / 1.238 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.2811, allocations: 0 / 1.238 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.2811, allocations: 7.922 kB / 1.238 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003365/0.2814, allocations: 349.3 kB / 1.239 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.2814, allocations: 0 / 1.239 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003238/0.2818, allocations: 51.89 kB / 1.239 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.2818, allocations: 3.984 kB / 1.239 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.2818, allocations: 12 kB / 1.239 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.2818, allocations: 3.984 kB / 1.239 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2818, allocations: 0 / 1.239 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008159/0.2826, allocations: 310.4 kB / 1.239 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.2828, allocations: 132.8 kB / 1.239 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.499e-05/0.2828, allocations: 7.953 kB / 1.239 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.2831, allocations: 15.98 kB / 1.239 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.2832, allocations: 19.97 kB / 1.239 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.2832, allocations: 11.94 kB / 1.239 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002425/0.2834, allocations: 255.2 kB / 1.24 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2834, allocations: 0 / 1.24 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003694/0.2838, allocations: 95.81 kB / 1.24 GB, free: 10.48 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001188/0.285, allocations: 0.8672 MB / 1.24 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007999/0.2858, allocations: 251.7 kB / 1.241 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2858, allocations: 0 / 1.241 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003616/0.2862, allocations: 107.9 kB / 1.241 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005867/0.2868, allocations: 125.6 kB / 1.241 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004863/0.2917, allocations: 3.032 MB / 1.244 GB, free: 6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.292, allocations: 0.7795 MB / 1.245 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003022/0.2923, allocations: 70.81 kB / 1.245 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.2925, allocations: 115.4 kB / 1.245 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/0.2925, allocations: 0 / 1.245 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5384/0.8309, allocations: 8.584 MB / 1.253 GB, free: 26.59 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.42/9.251, allocations: 8.594 kB / 1.253 GB, free: 26.59 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Exterior.fmu > Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Convection_Examples_Exterior.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[5002]=3600.000000 File[1204]=2249.280000 Error: Could not read variable nor.hF in file Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior_res.csv. Warning: Get data of variable nor.hF from file Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior_res.csv failed! Error: Could not read variable wes.hF in file Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior_res.csv. Warning: Get data of variable wes.hF from file Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior_res.csv failed! Error: Could not read variable sou.hF in file Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior_res.csv. Warning: Get data of variable sou.hF from file Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior_res.csv failed! " Variables in the reference:time,nor.hF,wes.hF,sou.hF,eas.hF Variables in the result:time,direction.y,eas.Q_flow,eas.dT,eas.hF,eas.qF_flow