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.001611/0.001611, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002059/0.002059, allocations: 219 kB / 23.03 MB, free: 4.922 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.562/1.562, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.327/3.327, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="cs",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.002164/0.002164, allocations: 67.05 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4574/0.4596, allocations: 176.1 MB / 1.327 GB, free: 1.551 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2004/0.66, allocations: 143 MB / 1.466 GB, free: 1.969 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0052/0.6652, allocations: 2.745 MB / 1.469 GB, free: 15.22 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005196/0.6657, allocations: 19.81 kB / 1.469 GB, free: 15.2 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007328/0.6664, allocations: 202.8 kB / 1.469 GB, free: 15 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002162/0.6686, allocations: 0.8089 MB / 1.47 GB, free: 14.19 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009123/0.6695, allocations: 354.8 kB / 1.47 GB, free: 13.84 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001397/0.6709, allocations: 0.9781 MB / 1.471 GB, free: 12.86 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004209/0.6713, allocations: 206.5 kB / 1.471 GB, free: 12.66 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007631/0.6721, allocations: 386.6 kB / 1.472 GB, free: 12.28 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009771/0.6731, allocations: 312.7 kB / 1.472 GB, free: 11.97 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.632e-05/0.6731, allocations: 35.94 kB / 1.472 GB, free: 11.94 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.6742, allocations: 0.5337 MB / 1.473 GB, free: 11.4 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.6744, allocations: 143.5 kB / 1.473 GB, free: 11.26 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002153/0.6747, allocations: 175.2 kB / 1.473 GB, free: 11.09 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.6758, allocations: 0.7397 MB / 1.474 GB, free: 10.35 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.6758, allocations: 0 / 1.474 GB, free: 10.35 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6758, allocations: 0 / 1.474 GB, free: 10.35 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.6758, allocations: 0 / 1.474 GB, free: 10.35 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.677, allocations: 0.6562 MB / 1.474 GB, free: 9.66 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.677, allocations: 8.031 kB / 1.474 GB, free: 9.652 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.524e-05/0.677, allocations: 8.5 kB / 1.474 GB, free: 9.645 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.44e-05/0.6771, allocations: 54.55 kB / 1.474 GB, free: 9.582 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.6782, allocations: 151.5 kB / 1.475 GB, free: 9.434 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006389/0.6788, allocations: 356 kB / 1.475 GB, free: 9.055 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.6788, allocations: 24.48 kB / 1.475 GB, free: 9.031 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.018e-05/0.6789, allocations: 24 kB / 1.475 GB, free: 9.008 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005515/0.6794, allocations: 377.6 kB / 1.475 GB, free: 8.602 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.6794, allocations: 0 / 1.475 GB, free: 8.602 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.6795, allocations: 8 kB / 1.475 GB, free: 8.594 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.243e-05/0.6795, allocations: 8.5 kB / 1.475 GB, free: 8.586 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003547/0.6798, allocations: 209.8 kB / 1.475 GB, free: 8.379 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.001591/0.6814, allocations: 0.8311 MB / 1.476 GB, free: 7.504 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004146/0.6818, allocations: 190.8 kB / 1.476 GB, free: 7.309 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.682, allocations: 84.83 kB / 1.477 GB, free: 7.223 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.682, allocations: 4 kB / 1.477 GB, free: 7.219 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.682, allocations: 42.48 kB / 1.477 GB, free: 7.168 MB / 1.17 GB Notification: Performance of pre-optimization done (n=19): time 1.723e-06/0.682, allocations: 0 / 1.477 GB, free: 7.168 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.000954/0.683, allocations: 321.2 kB / 1.477 GB, free: 6.848 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.683, allocations: 55.41 kB / 1.477 GB, free: 6.781 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/0.6834, allocations: 304.5 kB / 1.477 GB, free: 6.477 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.6834, allocations: 29.7 kB / 1.477 GB, free: 6.441 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.6836, allocations: 196.3 kB / 1.477 GB, free: 6.242 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.225e-05/0.6836, allocations: 71.38 kB / 1.478 GB, free: 6.172 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.952e-05/0.6837, allocations: 45.7 kB / 1.478 GB, free: 6.121 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.6839, allocations: 338.8 kB / 1.478 GB, free: 5.781 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.684, allocations: 63.97 kB / 1.478 GB, free: 5.719 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.6841, allocations: 113.9 kB / 1.478 GB, free: 5.586 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/0.6844, allocations: 203.4 kB / 1.478 GB, free: 5.367 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.6844, allocations: 4 kB / 1.478 GB, free: 5.363 MB / 1.17 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004191/0.6849, allocations: 249.2 kB / 1.479 GB, free: 5.113 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.6849, allocations: 7.984 kB / 1.479 GB, free: 5.105 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.6849, allocations: 8.188 kB / 1.479 GB, free: 5.098 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.6849, allocations: 0 / 1.479 GB, free: 5.098 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.6851, allocations: 43.92 kB / 1.479 GB, free: 5.055 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.6851, allocations: 4 kB / 1.479 GB, free: 5.051 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/0.6854, allocations: 19.84 kB / 1.479 GB, free: 5.031 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.6854, allocations: 8 kB / 1.479 GB, free: 5.023 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.0002114/0.6856, allocations: 162.3 kB / 1.479 GB, free: 4.855 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.623e-05/0.6857, allocations: 35.75 kB / 1.479 GB, free: 4.82 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.97e-05/0.6858, allocations: 35.02 kB / 1.479 GB, free: 4.781 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.6858, allocations: 7.984 kB / 1.479 GB, free: 4.773 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.6858, allocations: 4 kB / 1.479 GB, free: 4.77 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.6858, allocations: 0 / 1.479 GB, free: 4.77 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005416/0.6864, allocations: 332.4 kB / 1.479 GB, free: 4.402 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.6864, allocations: 7.922 kB / 1.479 GB, free: 4.395 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/0.6866, allocations: 35.98 kB / 1.479 GB, free: 4.359 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002273/0.6868, allocations: 40.77 kB / 1.479 GB, free: 4.316 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.6868, allocations: 8 kB / 1.479 GB, free: 4.309 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001361/0.6882, allocations: 1.393 MB / 1.481 GB, free: 2.805 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6882, allocations: 0 / 1.481 GB, free: 2.805 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000607/0.6888, allocations: 405.7 kB / 1.481 GB, free: 2.391 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.6889, allocations: 55.72 kB / 1.481 GB, free: 2.336 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/0.689, allocations: 7.984 kB / 1.481 GB, free: 2.328 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.6892, allocations: 4 kB / 1.481 GB, free: 2.324 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.6893, allocations: 16.22 kB / 1.481 GB, free: 2.309 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.6893, allocations: 7.984 kB / 1.481 GB, free: 2.301 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002513/0.6895, allocations: 223.1 kB / 1.481 GB, free: 2.086 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/0.6895, allocations: 0 / 1.481 GB, free: 2.086 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004289/0.69, allocations: 103.9 kB / 1.481 GB, free: 1.984 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.0009884/0.6909, allocations: 0.9456 MB / 1.482 GB, free: 1.012 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0002974/0.6912, allocations: 153.8 kB / 1.482 GB, free: 0.8633 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6912, allocations: 0 / 1.482 GB, free: 0.8633 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.000327/0.6916, allocations: 198.5 kB / 1.483 GB, free: 0.6562 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009792/0.6925, allocations: 200.2 kB / 1.483 GB, free: 472 kB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003811/0.6964, allocations: 2.926 MB / 1.486 GB, free: 13.43 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.6966, allocations: 194 kB / 1.486 GB, free: 13.21 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002692/0.6969, allocations: 59.25 kB / 1.486 GB, free: 13.16 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.697, allocations: 103.4 kB / 1.486 GB, free: 13.05 MB / 1.186 GB Notification: Performance of SimCode: time 6.91e-07/0.697, allocations: 0 / 1.486 GB, free: 13.05 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03618/0.7332, allocations: 9.949 MB / 1.496 GB, free: 3.445 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.4, allocations: 11.33 kB / 1.496 GB, free: 3.441 MB / 1.186 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --stepSize=4.32 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.74492482689675]