Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001283/0.001283, allocations: 113 kB / 18.94 MB, free: 2.957 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.001468/0.001468, allocations: 214.5 kB / 22.25 MB, free: 5.117 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.561/1.561, allocations: 230.6 MB / 256 MB, free: 8.02 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.49 GB / 0.7951 GB, free: 33.34 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.Boiler.System1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_Boiler_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.002125/0.002125, allocations: 73.39 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4318/0.4339, allocations: 176.1 MB / 1.326 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2123/0.6462, allocations: 166.5 MB / 1.488 GB, free: 10.84 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006918/0.6531, allocations: 3.589 MB / 1.492 GB, free: 7.242 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008935/0.654, allocations: 23.81 kB / 1.492 GB, free: 7.219 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.6552, allocations: 286.4 kB / 1.492 GB, free: 6.938 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002947/0.6581, allocations: 0.9374 MB / 1.493 GB, free: 5.996 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.6596, allocations: 456.7 kB / 1.494 GB, free: 5.551 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002201/0.6618, allocations: 1.146 MB / 1.495 GB, free: 4.402 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006654/0.6625, allocations: 280.6 kB / 1.495 GB, free: 4.117 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00127/0.6638, allocations: 482.2 kB / 1.495 GB, free: 3.645 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001399/0.6652, allocations: 368.6 kB / 1.496 GB, free: 3.285 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.6653, allocations: 40 kB / 1.496 GB, free: 3.246 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001831/0.6671, allocations: 0.7521 MB / 1.497 GB, free: 2.492 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003388/0.6675, allocations: 175.4 kB / 1.497 GB, free: 2.32 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005947/0.6681, allocations: 274.6 kB / 1.497 GB, free: 2.051 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002274/0.6703, allocations: 0.9575 MB / 1.498 GB, free: 1.09 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6704, allocations: 4 kB / 1.498 GB, free: 1.086 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6704, allocations: 0 / 1.498 GB, free: 1.086 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.657e-05/0.6704, allocations: 0 / 1.498 GB, free: 1.086 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.002167/0.6725, allocations: 0.8153 MB / 1.499 GB, free: 244 kB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.6726, allocations: 16.03 kB / 1.499 GB, free: 228 kB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001168/0.6727, allocations: 62.53 kB / 1.499 GB, free: 156 kB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.6739, allocations: 155.5 kB / 1.499 GB, free: 0 / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.675, allocations: 454.1 kB / 1.499 GB, free: 15.53 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.6751, allocations: 20.66 kB / 1.499 GB, free: 15.51 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.097e-05/0.6752, allocations: 32 kB / 1.499 GB, free: 15.48 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007196/0.6759, allocations: 325 kB / 1.5 GB, free: 15.15 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.6759, allocations: 0 / 1.5 GB, free: 15.15 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.061e-05/0.6759, allocations: 12 kB / 1.5 GB, free: 15.14 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.87e-05/0.676, allocations: 12.66 kB / 1.5 GB, free: 15.12 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004835/0.6764, allocations: 222.4 kB / 1.5 GB, free: 14.91 MB / 1.201 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.002548/0.679, allocations: 1.48 MB / 1.501 GB, free: 13.28 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/0.6794, allocations: 218.6 kB / 1.502 GB, free: 13.05 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.6796, allocations: 103.2 kB / 1.502 GB, free: 12.95 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.969e-05/0.6797, allocations: 8 kB / 1.502 GB, free: 12.95 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003266/0.68, allocations: 159.2 kB / 1.502 GB, free: 12.78 MB / 1.201 GB Notification: Performance of pre-optimization done (n=26): time 1.573e-06/0.68, allocations: 0 / 1.502 GB, free: 12.78 MB / 1.201 GB Notification: Performance of matching and sorting (n=29): time 0.00312/0.6831, allocations: 1.024 MB / 1.503 GB, free: 11.71 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.6832, allocations: 59.34 kB / 1.503 GB, free: 11.64 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006393/0.6838, allocations: 465.9 kB / 1.503 GB, free: 11.18 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/0.6838, allocations: 29.7 kB / 1.503 GB, free: 11.15 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000235/0.6841, allocations: 252.5 kB / 1.504 GB, free: 10.9 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.6842, allocations: 107.1 kB / 1.504 GB, free: 10.79 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.6844, allocations: 82.02 kB / 1.504 GB, free: 10.71 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001948/0.6846, allocations: 358.8 kB / 1.504 GB, free: 10.35 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/0.6849, allocations: 124.7 kB / 1.504 GB, free: 10.23 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002997/0.6852, allocations: 186.6 kB / 1.505 GB, free: 10.03 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005136/0.6857, allocations: 311.4 kB / 1.505 GB, free: 9.707 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.6857, allocations: 0 / 1.505 GB, free: 9.707 MB / 1.201 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00106/0.6867, allocations: 490.4 kB / 1.505 GB, free: 9.219 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.6868, allocations: 10.03 kB / 1.505 GB, free: 9.211 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.6868, allocations: 0 / 1.505 GB, free: 9.211 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003971/0.6872, allocations: 84.92 kB / 1.505 GB, free: 9.125 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/0.6874, allocations: 67.91 kB / 1.505 GB, free: 9.059 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/0.6896, allocations: 1.801 MB / 1.507 GB, free: 7.145 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003653/0.69, allocations: 11.97 kB / 1.507 GB, free: 7.133 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/0.69, allocations: 16 kB / 1.507 GB, free: 7.117 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.0003108/0.6903, allocations: 199.6 kB / 1.507 GB, free: 6.914 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.6904, allocations: 47.67 kB / 1.507 GB, free: 6.867 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009456/0.6914, allocations: 403.2 kB / 1.508 GB, free: 6.461 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.6914, allocations: 7.938 kB / 1.508 GB, free: 6.453 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.6914, allocations: 0 / 1.508 GB, free: 6.453 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.6914, allocations: 0 / 1.508 GB, free: 6.453 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.6931, allocations: 0.9473 MB / 1.509 GB, free: 5.453 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.6931, allocations: 0 / 1.509 GB, free: 5.453 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003553/0.6935, allocations: 63.95 kB / 1.509 GB, free: 5.391 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003123/0.6938, allocations: 76.8 kB / 1.509 GB, free: 5.312 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.873e-05/0.6938, allocations: 11.98 kB / 1.509 GB, free: 5.301 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/0.6955, allocations: 1.549 MB / 1.51 GB, free: 3.637 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6955, allocations: 0 / 1.51 GB, free: 3.637 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.6967, allocations: 0.5793 MB / 1.511 GB, free: 3.039 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002169/0.6969, allocations: 67.73 kB / 1.511 GB, free: 2.973 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.895e-05/0.697, allocations: 15.98 kB / 1.511 GB, free: 2.957 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003552/0.6973, allocations: 8 kB / 1.511 GB, free: 2.949 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.874e-05/0.6974, allocations: 23.95 kB / 1.511 GB, free: 2.926 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/0.6974, allocations: 12 kB / 1.511 GB, free: 2.914 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004273/0.6979, allocations: 315.1 kB / 1.511 GB, free: 2.605 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.6979, allocations: 0 / 1.511 GB, free: 2.605 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006071/0.6985, allocations: 127.9 kB / 1.512 GB, free: 2.48 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 (26): * Single equations (assignments): 23 * 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.003126/0.7016, allocations: 1.46 MB / 1.513 GB, free: 1.152 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0008307/0.7024, allocations: 410.4 kB / 1.513 GB, free: 0.7383 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.7024, allocations: 0 / 1.513 GB, free: 0.7383 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003438/0.7028, allocations: 242.5 kB / 1.514 GB, free: 500 kB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.7039, allocations: 237.5 kB / 1.514 GB, free: 276 kB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006905/0.7109, allocations: 4.175 MB / 1.518 GB, free: 11.97 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000561/0.7114, allocations: 0.8658 MB / 1.519 GB, free: 11.08 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003648/0.7118, allocations: 84.27 kB / 1.519 GB, free: 11 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/0.7121, allocations: 151.4 kB / 1.519 GB, free: 10.85 MB / 1.217 GB Notification: Performance of SimCode: time 7.81e-07/0.7121, allocations: 0 / 1.519 GB, free: 10.85 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05531/0.7674, allocations: 13.38 MB / 1.532 GB, free: 13.66 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.46, allocations: 6.188 kB / 1.532 GB, free: 13.65 MB / 1.232 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 20.585365494946018]