Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.Boiler.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.001251/0.001251, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001371/0.001371, allocations: 221.2 kB / 23.03 MB, free: 4.941 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 3.309/3.309, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Boiler.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_Boiler_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.001996/0.001996, allocations: 69.27 kB / 1.17 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4352/0.4372, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2149/0.6521, allocations: 143.5 MB / 1.485 GB, free: 15.89 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006891/0.659, allocations: 3.323 MB / 1.489 GB, free: 12.55 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006945/0.6597, allocations: 23.81 kB / 1.489 GB, free: 12.53 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0009942/0.6607, allocations: 266.5 kB / 1.489 GB, free: 12.27 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002826/0.6635, allocations: 0.9373 MB / 1.49 GB, free: 11.33 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.6648, allocations: 453.8 kB / 1.49 GB, free: 10.89 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001703/0.6665, allocations: 1.149 MB / 1.491 GB, free: 9.734 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004311/0.667, allocations: 272.7 kB / 1.492 GB, free: 9.461 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007959/0.6678, allocations: 466.2 kB / 1.492 GB, free: 9.004 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.6688, allocations: 383.2 kB / 1.492 GB, free: 8.633 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 8.328e-05/0.6689, allocations: 43.94 kB / 1.493 GB, free: 8.59 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.6702, allocations: 0.5883 MB / 1.493 GB, free: 8 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002467/0.6704, allocations: 183.4 kB / 1.493 GB, free: 7.82 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003007/0.6707, allocations: 218.9 kB / 1.493 GB, free: 7.605 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.6722, allocations: 0.9381 MB / 1.494 GB, free: 6.664 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6722, allocations: 0 / 1.494 GB, free: 6.664 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.244e-06/0.6722, allocations: 0 / 1.494 GB, free: 6.664 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.6722, allocations: 0 / 1.494 GB, free: 6.664 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001577/0.6737, allocations: 0.8153 MB / 1.495 GB, free: 5.812 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/0.6738, allocations: 12.03 kB / 1.495 GB, free: 5.801 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.385e-05/0.6738, allocations: 8.594 kB / 1.495 GB, free: 5.793 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.777e-05/0.6739, allocations: 70.53 kB / 1.495 GB, free: 5.715 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.675, allocations: 159.5 kB / 1.495 GB, free: 5.559 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008428/0.6758, allocations: 446.2 kB / 1.496 GB, free: 5.094 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.6759, allocations: 24.59 kB / 1.496 GB, free: 5.07 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.666e-05/0.6759, allocations: 32 kB / 1.496 GB, free: 5.039 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006795/0.6766, allocations: 427.9 kB / 1.496 GB, free: 4.586 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.6766, allocations: 0 / 1.496 GB, free: 4.586 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.799e-05/0.6767, allocations: 12 kB / 1.496 GB, free: 4.574 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.6767, allocations: 12.66 kB / 1.496 GB, free: 4.562 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000449/0.6772, allocations: 230.4 kB / 1.497 GB, free: 4.336 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.001945/0.6791, allocations: 0.9563 MB / 1.497 GB, free: 3.332 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/0.6795, allocations: 214.7 kB / 1.498 GB, free: 3.113 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.6797, allocations: 104.8 kB / 1.498 GB, free: 3.008 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.6797, allocations: 0 / 1.498 GB, free: 3.008 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003788/0.6801, allocations: 274 kB / 1.498 GB, free: 2.703 MB / 1.186 GB Notification: Performance of pre-optimization done (n=26): time 2.034e-06/0.6801, allocations: 0 / 1.498 GB, free: 2.703 MB / 1.186 GB Notification: Performance of matching and sorting (n=29): time 0.003016/0.6831, allocations: 1.03 MB / 1.499 GB, free: 1.633 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.6832, allocations: 55.41 kB / 1.499 GB, free: 1.566 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005993/0.6838, allocations: 473.9 kB / 1.5 GB, free: 1.094 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/0.6838, allocations: 33.7 kB / 1.5 GB, free: 1.055 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.684, allocations: 244.5 kB / 1.5 GB, free: 0.8125 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.6842, allocations: 103.1 kB / 1.5 GB, free: 0.7109 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.6843, allocations: 86.02 kB / 1.5 GB, free: 0.6211 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.6845, allocations: 358.8 kB / 1.5 GB, free: 268 kB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/0.6847, allocations: 120.7 kB / 1.5 GB, free: 148 kB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003205/0.685, allocations: 190.7 kB / 1.501 GB, free: 15.94 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005125/0.6856, allocations: 311.4 kB / 1.501 GB, free: 15.62 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6856, allocations: 0 / 1.501 GB, free: 15.62 MB / 1.201 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001154/0.6867, allocations: 494.4 kB / 1.501 GB, free: 15.12 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.6867, allocations: 8 kB / 1.501 GB, free: 15.12 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.6867, allocations: 3.938 kB / 1.501 GB, free: 15.11 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003985/0.6871, allocations: 88.89 kB / 1.502 GB, free: 15.02 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.6874, allocations: 71.91 kB / 1.502 GB, free: 14.95 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002017/0.6895, allocations: 1.793 MB / 1.503 GB, free: 13.05 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/0.6898, allocations: 12.06 kB / 1.503 GB, free: 13.04 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-05/0.6898, allocations: 12 kB / 1.503 GB, free: 13.03 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002882/0.6901, allocations: 197.7 kB / 1.504 GB, free: 12.82 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-05/0.6902, allocations: 51.67 kB / 1.504 GB, free: 12.77 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009689/0.6912, allocations: 403.2 kB / 1.504 GB, free: 12.37 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.6912, allocations: 11.94 kB / 1.504 GB, free: 12.36 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.6912, allocations: 4 kB / 1.504 GB, free: 12.35 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.6912, allocations: 0 / 1.504 GB, free: 12.35 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.6928, allocations: 0.8851 MB / 1.505 GB, free: 11.42 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.6928, allocations: 0 / 1.505 GB, free: 11.42 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000385/0.6932, allocations: 63.91 kB / 1.505 GB, free: 11.36 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003158/0.6935, allocations: 80.78 kB / 1.505 GB, free: 11.27 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/0.6936, allocations: 12 kB / 1.505 GB, free: 11.26 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/0.6951, allocations: 1.545 MB / 1.507 GB, free: 9.598 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6951, allocations: 0 / 1.507 GB, free: 9.598 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.6963, allocations: 0.5873 MB / 1.507 GB, free: 8.988 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001799/0.6965, allocations: 79.92 kB / 1.507 GB, free: 8.91 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.888e-05/0.6966, allocations: 11.98 kB / 1.507 GB, free: 8.898 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003389/0.6969, allocations: 8 kB / 1.507 GB, free: 8.891 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.632e-05/0.697, allocations: 32 kB / 1.507 GB, free: 8.859 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.119e-05/0.697, allocations: 8 kB / 1.507 GB, free: 8.852 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003979/0.6974, allocations: 319.1 kB / 1.508 GB, free: 8.543 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.6974, allocations: 0 / 1.508 GB, free: 8.543 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005766/0.698, allocations: 127.9 kB / 1.508 GB, free: 8.418 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.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003209/0.7012, allocations: 1.488 MB / 1.509 GB, free: 7.09 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0009116/0.7021, allocations: 418.9 kB / 1.51 GB, free: 6.668 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.7021, allocations: 4.062 kB / 1.51 GB, free: 6.664 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003625/0.7025, allocations: 238.6 kB / 1.51 GB, free: 6.418 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.7037, allocations: 241.7 kB / 1.51 GB, free: 6.191 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006625/0.7103, allocations: 4.2 MB / 1.514 GB, free: 1.871 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.7106, allocations: 251.8 kB / 1.514 GB, free: 1.602 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003747/0.711, allocations: 92.3 kB / 1.514 GB, free: 1.508 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002636/0.7113, allocations: 159.4 kB / 1.515 GB, free: 1.352 MB / 1.201 GB Notification: Performance of SimCode: time 1.603e-06/0.7113, allocations: 0 / 1.515 GB, free: 1.352 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06312/0.7744, allocations: 14.27 MB / 1.528 GB, free: 3.332 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/13.97, allocations: 11.25 kB / 1.528 GB, free: 3.324 MB / 1.217 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.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: 21.29159976297524]