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.001503/0.001503, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002095/0.002095, allocations: 219.2 kB / 22.26 MB, free: 5.125 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.565/1.565, allocations: 230.6 MB / 256 MB, free: 7.973 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.328/3.328, allocations: 0.49 GB / 0.7951 GB, free: 33.43 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.002121/0.002121, allocations: 63.11 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4093, allocations: 176.1 MB / 1.326 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2213/0.6306, allocations: 166 MB / 1.488 GB, free: 11.31 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006423/0.637, allocations: 2.945 MB / 1.491 GB, free: 8.359 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009026/0.6379, allocations: 19.88 kB / 1.491 GB, free: 8.34 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.6389, allocations: 214.8 kB / 1.491 GB, free: 8.129 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002886/0.6418, allocations: 0.8167 MB / 1.492 GB, free: 7.309 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.643, allocations: 361.4 kB / 1.492 GB, free: 6.957 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001938/0.645, allocations: 0.9781 MB / 1.493 GB, free: 5.977 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005275/0.6455, allocations: 210.5 kB / 1.493 GB, free: 5.766 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/0.6466, allocations: 394.5 kB / 1.494 GB, free: 5.379 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001331/0.648, allocations: 310.2 kB / 1.494 GB, free: 5.078 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.6481, allocations: 32 kB / 1.494 GB, free: 5.047 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001891/0.65, allocations: 0.6975 MB / 1.495 GB, free: 4.348 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000288/0.6503, allocations: 143.5 kB / 1.495 GB, free: 4.207 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000382/0.6506, allocations: 219 kB / 1.495 GB, free: 3.992 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002027/0.6527, allocations: 0.7514 MB / 1.496 GB, free: 3.238 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.6527, allocations: 0 / 1.496 GB, free: 3.238 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.224e-06/0.6527, allocations: 0 / 1.496 GB, free: 3.238 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.6527, allocations: 0 / 1.496 GB, free: 3.238 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.001587/0.6543, allocations: 0.6523 MB / 1.496 GB, free: 2.555 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.6543, allocations: 8.031 kB / 1.496 GB, free: 2.547 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000102/0.6544, allocations: 66.47 kB / 1.497 GB, free: 2.473 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.6557, allocations: 139.6 kB / 1.497 GB, free: 2.336 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009544/0.6566, allocations: 364 kB / 1.497 GB, free: 1.949 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.6566, allocations: 16.5 kB / 1.497 GB, free: 1.934 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.163e-05/0.6567, allocations: 24 kB / 1.497 GB, free: 1.91 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006116/0.6573, allocations: 278.7 kB / 1.497 GB, free: 1.629 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.6573, allocations: 0 / 1.497 GB, free: 1.629 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.6574, allocations: 12 kB / 1.497 GB, free: 1.617 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.144e-05/0.6574, allocations: 12.44 kB / 1.497 GB, free: 1.605 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003863/0.6578, allocations: 193.9 kB / 1.498 GB, free: 1.414 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.002246/0.66, allocations: 1.288 MB / 1.499 GB, free: 15.99 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004396/0.6605, allocations: 190.7 kB / 1.499 GB, free: 15.8 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.6606, allocations: 86.2 kB / 1.499 GB, free: 15.71 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.6606, allocations: 0 / 1.499 GB, free: 15.71 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.6607, allocations: 38.56 kB / 1.499 GB, free: 15.67 MB / 1.201 GB Notification: Performance of pre-optimization done (n=19): time 2.044e-06/0.6607, allocations: 0 / 1.499 GB, free: 15.67 MB / 1.201 GB Notification: Performance of matching and sorting (n=19): time 0.001141/0.6618, allocations: 319.8 kB / 1.499 GB, free: 15.35 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.6619, allocations: 63.41 kB / 1.499 GB, free: 15.27 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004086/0.6623, allocations: 300.5 kB / 1.5 GB, free: 14.97 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.166e-05/0.6623, allocations: 29.7 kB / 1.5 GB, free: 14.94 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.6625, allocations: 196.3 kB / 1.5 GB, free: 14.74 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 8.752e-05/0.6626, allocations: 67.39 kB / 1.5 GB, free: 14.67 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.591e-05/0.6627, allocations: 45.7 kB / 1.5 GB, free: 14.62 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002023/0.6629, allocations: 342.8 kB / 1.5 GB, free: 14.28 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.663, allocations: 59.98 kB / 1.5 GB, free: 14.22 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.6632, allocations: 124.7 kB / 1.501 GB, free: 14.08 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/0.6635, allocations: 195.3 kB / 1.501 GB, free: 13.87 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.6635, allocations: 0 / 1.501 GB, free: 13.87 MB / 1.201 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004555/0.6639, allocations: 254.9 kB / 1.501 GB, free: 13.61 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.664, allocations: 8 kB / 1.501 GB, free: 13.61 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.664, allocations: 0 / 1.501 GB, free: 13.61 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/0.664, allocations: 4.188 kB / 1.501 GB, free: 13.6 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.6642, allocations: 47.92 kB / 1.501 GB, free: 13.55 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.6642, allocations: 3.984 kB / 1.501 GB, free: 13.55 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003107/0.6645, allocations: 23.84 kB / 1.501 GB, free: 13.53 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.6646, allocations: 12 kB / 1.501 GB, free: 13.52 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.0002266/0.6648, allocations: 162.2 kB / 1.501 GB, free: 13.35 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.729e-05/0.6649, allocations: 39.69 kB / 1.501 GB, free: 13.31 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.665, allocations: 35.02 kB / 1.501 GB, free: 13.27 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.665, allocations: 4 kB / 1.501 GB, free: 13.27 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.665, allocations: 4 kB / 1.501 GB, free: 13.26 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.665, allocations: 0 / 1.501 GB, free: 13.26 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006323/0.6656, allocations: 376.3 kB / 1.502 GB, free: 12.85 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.6656, allocations: 3.984 kB / 1.502 GB, free: 12.85 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.6658, allocations: 39.92 kB / 1.502 GB, free: 12.81 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002566/0.6661, allocations: 36.83 kB / 1.502 GB, free: 12.77 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.6661, allocations: 8 kB / 1.502 GB, free: 12.76 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001474/0.6676, allocations: 1.405 MB / 1.503 GB, free: 11.25 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.6676, allocations: 0 / 1.503 GB, free: 11.25 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006831/0.6683, allocations: 404 kB / 1.504 GB, free: 10.83 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.6685, allocations: 51.78 kB / 1.504 GB, free: 10.78 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.48e-05/0.6685, allocations: 11.92 kB / 1.504 GB, free: 10.77 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/0.6688, allocations: 9.719 kB / 1.504 GB, free: 10.76 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.17e-05/0.6688, allocations: 7.984 kB / 1.504 GB, free: 10.75 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.6688, allocations: 11.98 kB / 1.504 GB, free: 10.74 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002676/0.6691, allocations: 219.1 kB / 1.504 GB, free: 10.53 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.6691, allocations: 0 / 1.504 GB, free: 10.53 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004876/0.6696, allocations: 103.9 kB / 1.504 GB, free: 10.43 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.001113/0.6707, allocations: 0.9488 MB / 1.505 GB, free: 9.453 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0003569/0.6711, allocations: 149.8 kB / 1.505 GB, free: 9.309 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.6711, allocations: 384 / 1.505 GB, free: 9.309 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003709/0.6714, allocations: 206.5 kB / 1.505 GB, free: 9.094 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.6726, allocations: 200.8 kB / 1.505 GB, free: 8.898 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004338/0.6769, allocations: 2.93 MB / 1.508 GB, free: 5.859 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004902/0.6774, allocations: 0.7921 MB / 1.509 GB, free: 5.039 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003504/0.6777, allocations: 67.19 kB / 1.509 GB, free: 4.973 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.6779, allocations: 107.3 kB / 1.509 GB, free: 4.867 MB / 1.201 GB Notification: Performance of SimCode: time 1.082e-06/0.6779, allocations: 3.938 kB / 1.509 GB, free: 4.863 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04681/0.7247, allocations: 9.241 MB / 1.518 GB, free: 11.84 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.88, allocations: 12.81 kB / 1.518 GB, free: 11.83 MB / 1.217 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: 20.163228298999456]