Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001607/0.001607, allocations: 102.1 kB / 16.45 MB, free: 6.449 MB / 14.72 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.001925/0.001925, allocations: 212.9 kB / 19.43 MB, free: 3.637 MB / 14.72 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 1.491/1.491, allocations: 230.6 MB / 252.8 MB, free: 9.133 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.283/3.283, allocations: 0.49 GB / 0.7916 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 68.92 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4145, allocations: 176.1 MB / 1.321 GB, free: 3.383 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2287/0.6433, allocations: 165.8 MB / 1.483 GB, free: 12.92 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006455/0.6497, allocations: 2.933 MB / 1.486 GB, free: 9.977 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008764/0.6506, allocations: 23.81 kB / 1.486 GB, free: 9.953 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.6516, allocations: 214.8 kB / 1.486 GB, free: 9.742 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002825/0.6544, allocations: 0.7973 MB / 1.487 GB, free: 8.941 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.6557, allocations: 345.5 kB / 1.487 GB, free: 8.605 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002119/0.6578, allocations: 0.9453 MB / 1.488 GB, free: 7.656 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000613/0.6584, allocations: 210.3 kB / 1.488 GB, free: 7.449 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.6595, allocations: 390.6 kB / 1.488 GB, free: 7.066 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/0.6609, allocations: 310.7 kB / 1.489 GB, free: 6.762 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.661, allocations: 36 kB / 1.489 GB, free: 6.727 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001757/0.6627, allocations: 0.6897 MB / 1.489 GB, free: 6.035 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002833/0.663, allocations: 139.5 kB / 1.49 GB, free: 5.898 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004105/0.6634, allocations: 215 kB / 1.49 GB, free: 5.688 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001978/0.6654, allocations: 0.7553 MB / 1.49 GB, free: 4.93 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.6654, allocations: 0 / 1.49 GB, free: 4.93 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6654, allocations: 0 / 1.49 GB, free: 4.93 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.444e-05/0.6655, allocations: 0 / 1.49 GB, free: 4.93 MB / 1.186 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.001771/0.6672, allocations: 0.7238 MB / 1.491 GB, free: 4.156 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/0.6673, allocations: 15.98 kB / 1.491 GB, free: 4.141 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001171/0.6674, allocations: 58.53 kB / 1.491 GB, free: 4.074 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.6686, allocations: 147.6 kB / 1.491 GB, free: 3.93 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009197/0.6695, allocations: 418.6 kB / 1.492 GB, free: 3.477 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.6696, allocations: 24.56 kB / 1.492 GB, free: 3.453 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.91e-05/0.6696, allocations: 24 kB / 1.492 GB, free: 3.43 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005535/0.6702, allocations: 275.7 kB / 1.492 GB, free: 3.152 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.6702, allocations: 0 / 1.492 GB, free: 3.152 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.418e-05/0.6702, allocations: 12 kB / 1.492 GB, free: 3.141 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.772e-05/0.6703, allocations: 8.562 kB / 1.492 GB, free: 3.133 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004281/0.6707, allocations: 198.1 kB / 1.492 GB, free: 2.934 MB / 1.186 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.00232/0.673, allocations: 1.327 MB / 1.494 GB, free: 1.465 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004614/0.6735, allocations: 186.9 kB / 1.494 GB, free: 1.273 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.6737, allocations: 84.77 kB / 1.494 GB, free: 1.188 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.6737, allocations: 0 / 1.494 GB, free: 1.188 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.6737, allocations: 38.56 kB / 1.494 GB, free: 1.141 MB / 1.186 GB Notification: Performance of pre-optimization done (n=19): time 1.673e-06/0.6737, allocations: 4 kB / 1.494 GB, free: 1.137 MB / 1.186 GB Notification: Performance of matching and sorting (n=19): time 0.001168/0.6749, allocations: 396.8 kB / 1.494 GB, free: 0.7227 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.6749, allocations: 63.28 kB / 1.494 GB, free: 0.6484 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004118/0.6753, allocations: 300.6 kB / 1.495 GB, free: 360 kB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.6754, allocations: 33.7 kB / 1.495 GB, free: 320 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.6756, allocations: 192.3 kB / 1.495 GB, free: 124 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 8.934e-05/0.6756, allocations: 75.31 kB / 1.495 GB, free: 48 kB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.6758, allocations: 45.78 kB / 1.495 GB, free: 15.99 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002155/0.676, allocations: 338.8 kB / 1.495 GB, free: 15.65 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.6761, allocations: 63.97 kB / 1.495 GB, free: 15.59 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.6763, allocations: 119.7 kB / 1.495 GB, free: 15.45 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00032/0.6766, allocations: 203.4 kB / 1.496 GB, free: 15.23 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.6766, allocations: 0 / 1.496 GB, free: 15.23 MB / 1.201 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004851/0.6771, allocations: 247.3 kB / 1.496 GB, free: 14.99 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.6771, allocations: 9.562 kB / 1.496 GB, free: 14.98 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.6771, allocations: 3.984 kB / 1.496 GB, free: 14.98 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.6772, allocations: 4 kB / 1.496 GB, free: 14.97 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.6774, allocations: 43.92 kB / 1.496 GB, free: 14.93 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.6774, allocations: 8.188 kB / 1.496 GB, free: 14.92 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003399/0.6777, allocations: 19.84 kB / 1.496 GB, free: 14.9 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.6777, allocations: 4 kB / 1.496 GB, free: 14.9 MB / 1.201 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.0002173/0.678, allocations: 165.8 kB / 1.496 GB, free: 14.73 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.032e-05/0.6781, allocations: 31.75 kB / 1.496 GB, free: 14.7 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.6782, allocations: 39.08 kB / 1.496 GB, free: 14.65 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.6782, allocations: 3.938 kB / 1.496 GB, free: 14.65 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.6782, allocations: 4 kB / 1.496 GB, free: 14.64 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.6782, allocations: 3.984 kB / 1.496 GB, free: 14.64 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006733/0.6789, allocations: 413.2 kB / 1.497 GB, free: 14.19 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.6789, allocations: 4 kB / 1.497 GB, free: 14.19 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.679, allocations: 35.86 kB / 1.497 GB, free: 14.15 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000266/0.6793, allocations: 44.83 kB / 1.497 GB, free: 14.11 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.6793, allocations: 0 / 1.497 GB, free: 14.11 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/0.6809, allocations: 1.516 MB / 1.498 GB, free: 12.45 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6809, allocations: 0 / 1.498 GB, free: 12.45 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006452/0.6815, allocations: 392.1 kB / 1.499 GB, free: 12.05 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.6817, allocations: 136.9 kB / 1.499 GB, free: 11.89 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.189e-05/0.6818, allocations: 3.938 kB / 1.499 GB, free: 11.89 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002685/0.682, allocations: 10.06 kB / 1.499 GB, free: 11.88 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-05/0.6821, allocations: 19.91 kB / 1.499 GB, free: 11.86 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.6821, allocations: 4 kB / 1.499 GB, free: 11.86 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002803/0.6824, allocations: 219.1 kB / 1.499 GB, free: 11.64 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.6824, allocations: 4 kB / 1.499 GB, free: 11.64 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004838/0.6829, allocations: 103.8 kB / 1.499 GB, free: 11.54 MB / 1.201 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.001128/0.684, allocations: 0.9436 MB / 1.5 GB, free: 10.57 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0003512/0.6843, allocations: 157.6 kB / 1.5 GB, free: 10.41 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.6844, allocations: 7.938 kB / 1.5 GB, free: 10.41 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003719/0.6847, allocations: 195 kB / 1.5 GB, free: 10.2 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.6858, allocations: 198.3 kB / 1.5 GB, free: 10.02 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004438/0.6903, allocations: 2.932 MB / 1.503 GB, free: 6.973 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000511/0.6908, allocations: 0.796 MB / 1.504 GB, free: 6.148 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003121/0.6911, allocations: 59.25 kB / 1.504 GB, free: 6.09 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.6913, allocations: 103.4 kB / 1.504 GB, free: 5.988 MB / 1.201 GB Notification: Performance of SimCode: time 1.613e-06/0.6913, allocations: 0 / 1.504 GB, free: 5.988 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05111/0.7424, allocations: 9.058 MB / 1.513 GB, free: 13.12 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/12.08, allocations: 14.48 kB / 1.513 GB, free: 13.11 MB / 1.217 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv --start-time 0 --stop-time 10800 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4.32 Buildings_12_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv. Warning: Get data of variable vol.T_start from file Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv failed! Error: Could not read variable vol.T in file Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv. Warning: Get data of variable vol.T from file Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv failed! Error: Could not read variable TOut.T in file Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv. Warning: Get data of variable TOut.T from file Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.212841129861772]