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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.701/2.701, allocations: 436.5 MB / 0.7104 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.0003808, allocations: 11.94 kB / 0.8707 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9771/0.9775, allocations: 153.6 MB / 1.021 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1783/1.156, allocations: 136.8 MB / 1.154 GB, free: 7.965 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006545/1.163, allocations: 3.375 MB / 1.158 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007207/1.163, allocations: 19.88 kB / 1.158 GB, free: 4.562 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001076/1.164, allocations: 274.8 kB / 1.158 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002725/1.167, allocations: 0.8063 MB / 1.159 GB, free: 3.484 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001856/1.169, allocations: 0.5243 MB / 1.159 GB, free: 2.965 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001181/1.17, allocations: 0.6554 MB / 1.16 GB, free: 2.309 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004079/1.171, allocations: 250.4 kB / 1.16 GB, free: 2.066 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005705/1.171, allocations: 314.8 kB / 1.16 GB, free: 1.758 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000393/1.172, allocations: 235 kB / 1.161 GB, free: 1.527 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.575e-05/1.172, allocations: 16 kB / 1.161 GB, free: 1.512 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009756/1.173, allocations: 323.5 kB / 1.161 GB, free: 1.195 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001689/1.173, allocations: 135.6 kB / 1.161 GB, free: 1.062 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001244/1.173, allocations: 121.4 kB / 1.161 GB, free: 0.9375 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007776/1.174, allocations: 0.604 MB / 1.162 GB, free: 340 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/1.174, allocations: 3.938 kB / 1.162 GB, free: 336 kB / 0.9044 GB Notification: Performance of FrontEnd: time 1.352e-06/1.174, allocations: 0 / 1.162 GB, free: 336 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.175e-06/1.174, allocations: 4 kB / 1.162 GB, free: 332 kB / 0.9044 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.0015/1.175, allocations: 0.7747 MB / 1.163 GB, free: 15.5 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/1.175, allocations: 11.98 kB / 1.163 GB, free: 15.48 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/1.176, allocations: 151.2 kB / 1.163 GB, free: 15.34 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008054/1.177, allocations: 469.3 kB / 1.163 GB, free: 14.84 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/1.177, allocations: 28.55 kB / 1.163 GB, free: 14.81 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.932e-05/1.177, allocations: 28 kB / 1.163 GB, free: 14.78 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005528/1.178, allocations: 311.7 kB / 1.164 GB, free: 14.47 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/1.178, allocations: 3.938 kB / 1.164 GB, free: 14.46 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.295e-05/1.178, allocations: 23.94 kB / 1.164 GB, free: 14.44 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-05/1.178, allocations: 12.56 kB / 1.164 GB, free: 14.43 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003979/1.178, allocations: 218.1 kB / 1.164 GB, free: 14.21 MB / 0.92 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.002136/1.181, allocations: 1.41 MB / 1.165 GB, free: 12.67 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/1.181, allocations: 214.7 kB / 1.165 GB, free: 12.45 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/1.181, allocations: 4 kB / 1.165 GB, free: 12.45 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003082/1.181, allocations: 173.4 kB / 1.166 GB, free: 12.27 MB / 0.92 GB Notification: Performance of pre-optimization done (n=26): time 1.684e-06/1.181, allocations: 0 / 1.166 GB, free: 12.27 MB / 0.92 GB Notification: Performance of matching and sorting (n=29): time 0.002803/1.184, allocations: 1.079 MB / 1.167 GB, free: 11.13 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/1.184, allocations: 59.39 kB / 1.167 GB, free: 11.06 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005544/1.185, allocations: 461.9 kB / 1.167 GB, free: 10.6 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/1.185, allocations: 41.64 kB / 1.167 GB, free: 10.55 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/1.185, allocations: 236.2 kB / 1.167 GB, free: 10.32 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/1.185, allocations: 102.5 kB / 1.167 GB, free: 10.21 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/1.185, allocations: 8 kB / 1.167 GB, free: 10.21 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001675/1.185, allocations: 354.7 kB / 1.168 GB, free: 9.852 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/1.186, allocations: 124.7 kB / 1.168 GB, free: 9.73 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/1.186, allocations: 186.7 kB / 1.168 GB, free: 9.531 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/1.186, allocations: 149.5 kB / 1.168 GB, free: 9.387 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/1.186, allocations: 0 / 1.168 GB, free: 9.387 MB / 0.92 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009146/1.187, allocations: 482.6 kB / 1.169 GB, free: 8.906 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/1.187, allocations: 7.984 kB / 1.169 GB, free: 8.898 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/1.187, allocations: 7.938 kB / 1.169 GB, free: 8.891 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003947/1.187, allocations: 72.81 kB / 1.169 GB, free: 8.816 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/1.188, allocations: 72.03 kB / 1.169 GB, free: 8.746 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/1.19, allocations: 1.783 MB / 1.171 GB, free: 6.832 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003332/1.19, allocations: 27.98 kB / 1.171 GB, free: 6.805 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.509e-05/1.19, allocations: 16 kB / 1.171 GB, free: 6.789 MB / 0.92 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 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002808/1.19, allocations: 196 kB / 1.171 GB, free: 6.59 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.949e-05/1.19, allocations: 47.62 kB / 1.171 GB, free: 6.543 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/1.191, allocations: 60.61 kB / 1.171 GB, free: 6.48 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/1.191, allocations: 4 kB / 1.171 GB, free: 6.477 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/1.191, allocations: 4 kB / 1.171 GB, free: 6.473 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/1.191, allocations: 3.984 kB / 1.171 GB, free: 6.469 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/1.192, allocations: 0.9577 MB / 1.172 GB, free: 5.453 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/1.192, allocations: 3.953 kB / 1.172 GB, free: 5.449 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000342/1.192, allocations: 55.97 kB / 1.172 GB, free: 5.395 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000288/1.193, allocations: 84.72 kB / 1.172 GB, free: 5.309 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/1.193, allocations: 8 kB / 1.172 GB, free: 5.301 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/1.194, allocations: 1.566 MB / 1.174 GB, free: 3.598 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.194, allocations: 7.969 kB / 1.174 GB, free: 3.59 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009426/1.195, allocations: 0.5705 MB / 1.174 GB, free: 3 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/1.195, allocations: 152.9 kB / 1.174 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.959e-05/1.195, allocations: 12 kB / 1.174 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003327/1.196, allocations: 19.92 kB / 1.174 GB, free: 2.801 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.156e-05/1.196, allocations: 19.91 kB / 1.174 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/1.196, allocations: 12 kB / 1.174 GB, free: 2.77 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003637/1.196, allocations: 311.1 kB / 1.175 GB, free: 2.469 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/1.196, allocations: 0 / 1.175 GB, free: 2.469 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006126/1.197, allocations: 128 kB / 1.175 GB, free: 2.344 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001306/1.198, allocations: 428 kB / 1.175 GB, free: 2.074 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0011/1.199, allocations: 450.5 kB / 1.176 GB, free: 1.621 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.199, allocations: 0 / 1.176 GB, free: 1.621 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003333/1.2, allocations: 250.5 kB / 1.176 GB, free: 1.363 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/1.201, allocations: 227.2 kB / 1.176 GB, free: 1.148 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/1.203, allocations: 1.239 MB / 1.177 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005414/1.204, allocations: 0.8623 MB / 1.178 GB, free: 15 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000381/1.204, allocations: 88.25 kB / 1.178 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/1.204, allocations: 39.42 kB / 1.178 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of SimCode: time 1.022e-06/1.204, allocations: 4 kB / 1.178 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of Templates: time 0.01733/1.221, allocations: 8.177 MB / 1.186 GB, free: 6.789 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.makefile (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 & ./Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_Boiler_System1.csv","../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches