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.001373/0.001373, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001604/0.001604, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.448/1.448, allocations: 230.6 MB / 256 MB, free: 7.785 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.275/3.275, allocations: 0.4892 GB / 0.7943 GB, free: 35.69 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.002051/0.002051, allocations: 71.14 kB / 1.153 GB, free: 25.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3606, allocations: 176.1 MB / 1.325 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1908/0.5514, allocations: 143.1 MB / 1.465 GB, free: 2.719 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.004965/0.5564, allocations: 2.747 MB / 1.468 GB, free: 15.96 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000511/0.5569, allocations: 23.81 kB / 1.468 GB, free: 15.94 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000726/0.5576, allocations: 194.8 kB / 1.468 GB, free: 15.75 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002097/0.5597, allocations: 0.8051 MB / 1.468 GB, free: 14.94 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009024/0.5606, allocations: 351.2 kB / 1.469 GB, free: 14.6 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001349/0.562, allocations: 0.9692 MB / 1.47 GB, free: 13.63 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003507/0.5623, allocations: 210.5 kB / 1.47 GB, free: 13.42 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006625/0.563, allocations: 386.6 kB / 1.47 GB, free: 13.04 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00084/0.5638, allocations: 298.6 kB / 1.471 GB, free: 12.75 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.255e-05/0.5639, allocations: 32 kB / 1.471 GB, free: 12.72 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.565, allocations: 0.5337 MB / 1.471 GB, free: 12.18 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001844/0.5652, allocations: 139.5 kB / 1.471 GB, free: 12.05 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002125/0.5654, allocations: 175.2 kB / 1.471 GB, free: 11.88 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.5666, allocations: 0.7436 MB / 1.472 GB, free: 11.13 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.5666, allocations: 0 / 1.472 GB, free: 11.13 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5666, allocations: 0 / 1.472 GB, free: 11.13 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.5666, allocations: 0 / 1.472 GB, free: 11.13 MB / 1.17 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.001174/0.5678, allocations: 0.6485 MB / 1.473 GB, free: 10.45 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.5678, allocations: 11.97 kB / 1.473 GB, free: 10.44 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.804e-05/0.5679, allocations: 62.55 kB / 1.473 GB, free: 10.37 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009992/0.5689, allocations: 147.5 kB / 1.473 GB, free: 10.22 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006743/0.5696, allocations: 360 kB / 1.473 GB, free: 9.84 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.5696, allocations: 16.5 kB / 1.473 GB, free: 9.824 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.94e-05/0.5696, allocations: 24 kB / 1.473 GB, free: 9.801 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005498/0.5702, allocations: 385.5 kB / 1.474 GB, free: 9.391 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.5702, allocations: 0 / 1.474 GB, free: 9.391 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/0.5702, allocations: 12 kB / 1.474 GB, free: 9.379 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/0.5702, allocations: 8.5 kB / 1.474 GB, free: 9.371 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000365/0.5706, allocations: 197.9 kB / 1.474 GB, free: 9.176 MB / 1.17 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.001593/0.5722, allocations: 0.8466 MB / 1.475 GB, free: 8.285 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003926/0.5726, allocations: 178.9 kB / 1.475 GB, free: 8.102 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.5727, allocations: 80.83 kB / 1.475 GB, free: 8.02 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.5727, allocations: 4 kB / 1.475 GB, free: 8.016 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.5728, allocations: 38.56 kB / 1.475 GB, free: 7.969 MB / 1.17 GB Notification: Performance of pre-optimization done (n=19): time 1.583e-06/0.5728, allocations: 4 kB / 1.475 GB, free: 7.965 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.0009312/0.5737, allocations: 320.1 kB / 1.475 GB, free: 7.645 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.5738, allocations: 59.39 kB / 1.475 GB, free: 7.574 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000357/0.5741, allocations: 296.6 kB / 1.476 GB, free: 7.277 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.5741, allocations: 37.7 kB / 1.476 GB, free: 7.234 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.5743, allocations: 192.3 kB / 1.476 GB, free: 7.039 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.292e-05/0.5744, allocations: 75.36 kB / 1.476 GB, free: 6.965 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.331e-05/0.5744, allocations: 45.66 kB / 1.476 GB, free: 6.914 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.5746, allocations: 346.7 kB / 1.476 GB, free: 6.566 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.5747, allocations: 63.97 kB / 1.477 GB, free: 6.504 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.5749, allocations: 116.3 kB / 1.477 GB, free: 6.371 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.5752, allocations: 195.6 kB / 1.477 GB, free: 6.16 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5752, allocations: 0 / 1.477 GB, free: 6.16 MB / 1.17 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003868/0.5755, allocations: 249.2 kB / 1.477 GB, free: 5.91 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.5756, allocations: 8 kB / 1.477 GB, free: 5.902 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5756, allocations: 0 / 1.477 GB, free: 5.902 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.5756, allocations: 4 kB / 1.477 GB, free: 5.898 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.5758, allocations: 56.09 kB / 1.477 GB, free: 5.844 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.5758, allocations: 0 / 1.477 GB, free: 5.844 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.5761, allocations: 19.84 kB / 1.477 GB, free: 5.824 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.5761, allocations: 8 kB / 1.477 GB, free: 5.816 MB / 1.17 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.0001732/0.5763, allocations: 162.2 kB / 1.477 GB, free: 5.648 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.772e-05/0.5763, allocations: 35.75 kB / 1.477 GB, free: 5.613 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.121e-05/0.5764, allocations: 39.02 kB / 1.477 GB, free: 5.57 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.5764, allocations: 4 kB / 1.477 GB, free: 5.566 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.5764, allocations: 3.938 kB / 1.477 GB, free: 5.562 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.5764, allocations: 0 / 1.477 GB, free: 5.562 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/0.5769, allocations: 324.5 kB / 1.478 GB, free: 5.203 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5769, allocations: 0 / 1.478 GB, free: 5.203 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.5771, allocations: 39.92 kB / 1.478 GB, free: 5.164 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002047/0.5773, allocations: 40.83 kB / 1.478 GB, free: 5.121 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.5773, allocations: 11.98 kB / 1.478 GB, free: 5.109 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/0.5786, allocations: 1.393 MB / 1.479 GB, free: 3.605 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5786, allocations: 8.047 kB / 1.479 GB, free: 3.598 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005904/0.5792, allocations: 399.4 kB / 1.48 GB, free: 3.191 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.5794, allocations: 59.77 kB / 1.48 GB, free: 3.133 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/0.5794, allocations: 3.938 kB / 1.48 GB, free: 3.129 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.5797, allocations: 8 kB / 1.48 GB, free: 3.121 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.5797, allocations: 15.97 kB / 1.48 GB, free: 3.105 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.5797, allocations: 7.938 kB / 1.48 GB, free: 3.098 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002362/0.58, allocations: 223 kB / 1.48 GB, free: 2.883 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.58, allocations: 0 / 1.48 GB, free: 2.883 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004032/0.5804, allocations: 103.8 kB / 1.48 GB, free: 2.781 MB / 1.17 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.0009838/0.5813, allocations: 0.9409 MB / 1.481 GB, free: 1.812 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0002996/0.5816, allocations: 162.1 kB / 1.481 GB, free: 1.656 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5816, allocations: 4 kB / 1.481 GB, free: 1.652 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003112/0.582, allocations: 190.6 kB / 1.481 GB, free: 1.453 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009741/0.5829, allocations: 197.6 kB / 1.481 GB, free: 1.258 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003785/0.5867, allocations: 2.931 MB / 1.484 GB, free: 14.22 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.5869, allocations: 201.9 kB / 1.484 GB, free: 14 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002494/0.5872, allocations: 55.25 kB / 1.484 GB, free: 13.94 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.5873, allocations: 103.4 kB / 1.485 GB, free: 13.84 MB / 1.186 GB Notification: Performance of SimCode: time 6.61e-07/0.5873, allocations: 0 / 1.485 GB, free: 13.84 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04438/0.6317, allocations: 10.28 MB / 1.495 GB, free: 3.844 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.8, allocations: 5.625 kB / 1.495 GB, free: 3.84 MB / 1.186 GB " [Timeout remaining time 287] (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.660526778548956]