Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008064/0.0008064, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008379/0.0008379, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.906/0.906, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.785/1.785, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.9996 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.789e-05/1.952e-05, allocations: 6.219 kB / 0.9996 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.6335/0.6335, allocations: 143.1 MB / 1.139 GB, free: 10.86 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.003138/0.6367, allocations: 2.738 MB / 1.142 GB, free: 9.02 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002345/0.6369, allocations: 22.88 kB / 1.142 GB, free: 9.008 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0006272/0.6375, allocations: 204.5 kB / 1.142 GB, free: 8.898 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001561/0.6391, allocations: 0.834 MB / 1.143 GB, free: 8.43 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006171/0.6397, allocations: 351.9 kB / 1.143 GB, free: 8.238 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0009882/0.6407, allocations: 0.9808 MB / 1.144 GB, free: 7.77 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002792/0.641, allocations: 212.1 kB / 1.145 GB, free: 7.664 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006416/0.6416, allocations: 0.489 MB / 1.145 GB, free: 7.445 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006375/0.6422, allocations: 261.5 kB / 1.145 GB, free: 7.367 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 4.97e-05/0.6423, allocations: 33.03 kB / 1.145 GB, free: 7.367 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000833/0.6431, allocations: 0.5413 MB / 1.146 GB, free: 7.16 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.6433, allocations: 144.9 kB / 1.146 GB, free: 7.086 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.6434, allocations: 160.6 kB / 1.146 GB, free: 7.016 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0008872/0.6443, allocations: 0.7521 MB / 1.147 GB, free: 6.762 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.6443, allocations: 0.6875 kB / 1.147 GB, free: 6.762 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6443, allocations: 0 / 1.147 GB, free: 6.762 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.6444, allocations: 0.75 kB / 1.147 GB, free: 6.762 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008751/0.6452, allocations: 0.6531 MB / 1.148 GB, free: 6.27 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.6453, allocations: 14.28 kB / 1.148 GB, free: 6.266 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.584e-05/0.6453, allocations: 57.2 kB / 1.148 GB, free: 6.215 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005963/0.6459, allocations: 134.3 kB / 1.148 GB, free: 6.188 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004854/0.6464, allocations: 367.1 kB / 1.148 GB, free: 5.93 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.6464, allocations: 19.22 kB / 1.148 GB, free: 5.922 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/0.6465, allocations: 27.98 kB / 1.148 GB, free: 5.91 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003965/0.6469, allocations: 375.4 kB / 1.148 GB, free: 5.656 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.6469, allocations: 1.703 kB / 1.148 GB, free: 5.656 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.6469, allocations: 14.28 kB / 1.148 GB, free: 5.645 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.6469, allocations: 16.45 kB / 1.149 GB, free: 5.641 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002744/0.6472, allocations: 192.3 kB / 1.149 GB, free: 5.578 MB / 1.01 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.6483, allocations: 0.8408 MB / 1.15 GB, free: 5.016 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.6486, allocations: 188 kB / 1.15 GB, free: 4.926 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.6487, allocations: 80.5 kB / 1.15 GB, free: 4.891 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.6487, allocations: 2.891 kB / 1.15 GB, free: 4.891 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.6488, allocations: 36.75 kB / 1.15 GB, free: 4.848 MB / 1.01 GB Notification: Performance of pre-optimization done (n=19): time 1.653e-06/0.6488, allocations: 0 / 1.15 GB, free: 4.848 MB / 1.01 GB Notification: Performance of matching and sorting (n=19): time 0.000618/0.6494, allocations: 328.5 kB / 1.15 GB, free: 4.703 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.6494, allocations: 54.69 kB / 1.15 GB, free: 4.641 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.6497, allocations: 303.7 kB / 1.15 GB, free: 4.48 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.6497, allocations: 30.92 kB / 1.15 GB, free: 4.445 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.6498, allocations: 195.7 kB / 1.151 GB, free: 4.281 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.544e-05/0.6498, allocations: 74.09 kB / 1.151 GB, free: 4.223 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.6499, allocations: 44.45 kB / 1.151 GB, free: 4.191 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.256e-05/0.65, allocations: 342.9 kB / 1.151 GB, free: 3.863 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.96e-05/0.6501, allocations: 63.11 kB / 1.151 GB, free: 3.84 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.6502, allocations: 112.2 kB / 1.151 GB, free: 3.758 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.6504, allocations: 196.5 kB / 1.151 GB, free: 3.629 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.6504, allocations: 1.094 kB / 1.151 GB, free: 3.629 MB / 1.01 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002695/0.6507, allocations: 249.1 kB / 1.152 GB, free: 3.504 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.6507, allocations: 6.297 kB / 1.152 GB, free: 3.504 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.6507, allocations: 2.469 kB / 1.152 GB, free: 3.504 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.6507, allocations: 5.969 kB / 1.152 GB, free: 3.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.6508, allocations: 44.98 kB / 1.152 GB, free: 3.496 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.6508, allocations: 2.312 kB / 1.152 GB, free: 3.496 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.651, allocations: 20.39 kB / 1.152 GB, free: 3.48 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.651, allocations: 6.906 kB / 1.152 GB, free: 3.48 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * 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.0001229/0.6511, allocations: 166.7 kB / 1.152 GB, free: 3.332 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.6511, allocations: 32.53 kB / 1.152 GB, free: 3.316 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.051e-05/0.6512, allocations: 39 kB / 1.152 GB, free: 3.293 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.6512, allocations: 7.391 kB / 1.152 GB, free: 3.289 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6512, allocations: 0 / 1.152 GB, free: 3.289 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.6512, allocations: 1.172 kB / 1.152 GB, free: 3.289 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000336/0.6515, allocations: 324.9 kB / 1.152 GB, free: 3.059 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6515, allocations: 1.562 kB / 1.152 GB, free: 3.059 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.862e-05/0.6516, allocations: 37.14 kB / 1.152 GB, free: 3.051 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000161/0.6518, allocations: 45.41 kB / 1.152 GB, free: 3.031 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.6518, allocations: 5.766 kB / 1.152 GB, free: 3.027 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008895/0.6527, allocations: 1.409 MB / 1.154 GB, free: 1.676 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.6527, allocations: 0 / 1.154 GB, free: 1.676 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004035/0.6531, allocations: 407 kB / 1.154 GB, free: 1.422 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 8.671e-05/0.6532, allocations: 48.25 kB / 1.154 GB, free: 1.395 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.6532, allocations: 6.641 kB / 1.154 GB, free: 1.391 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.6533, allocations: 7.891 kB / 1.154 GB, free: 1.387 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.6534, allocations: 20.27 kB / 1.154 GB, free: 1.379 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.6534, allocations: 5.391 kB / 1.154 GB, free: 1.379 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001654/0.6535, allocations: 216.9 kB / 1.154 GB, free: 1.262 MB / 1.01 GB Notification: Performance of sort global known variables: time 6.1e-08/0.6535, allocations: 0 / 1.154 GB, free: 1.262 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000272/0.6538, allocations: 108.7 kB / 1.155 GB, free: 1.242 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006584/0.6545, allocations: 0.9361 MB / 1.155 GB, free: 472 kB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.6547, allocations: 163 kB / 1.156 GB, free: 412 kB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.6547, allocations: 0.9375 kB / 1.156 GB, free: 412 kB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002306/0.6549, allocations: 198.7 kB / 1.156 GB, free: 264 kB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006028/0.6555, allocations: 196.5 kB / 1.156 GB, free: 216 kB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/0.6582, allocations: 2.856 MB / 1.159 GB, free: 14.26 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001686/0.6583, allocations: 189.1 kB / 1.159 GB, free: 14.17 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0001643/0.6585, allocations: 58.81 kB / 1.159 GB, free: 14.16 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.6586, allocations: 106.9 kB / 1.159 GB, free: 14.08 MB / 1.026 GB Notification: Performance of SimCode: time 5.21e-07/0.6586, allocations: 1.656 kB / 1.159 GB, free: 14.08 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02739/0.686, allocations: 10.37 MB / 1.169 GB, free: 12.37 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.011/7.697, allocations: 2.156 kB / 1.169 GB, free: 12.37 MB / 1.026 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv --start-time 0 --stop-time 10800 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4.32 Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable vol.T_start in file Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv. Warning: Get data of variable vol.T_start from file Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv failed! Error: Could not read variable vol.T in file Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv. Warning: Get data of variable vol.T from file Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv failed! Error: Could not read variable TOut.T in file Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv. Warning: Get data of variable TOut.T from file Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.942057786509395]