Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.001369, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001894/0.001894, allocations: 168.7 kB / 15.95 MB, free: 204 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.559/1.559, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.524/2.524, allocations: 390.9 MB / 0.666 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003442, allocations: 8 kB / 0.8153 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7145/0.7149, allocations: 142.4 MB / 0.9544 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.2077/0.9227, allocations: 190.6 MB / 1.141 GB, free: 476 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02413/0.9468, allocations: 16.16 MB / 1.156 GB, free: 280 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004298/0.9512, allocations: 75.5 kB / 1.156 GB, free: 204 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003321/0.9545, allocations: 0.8737 MB / 1.157 GB, free: 15.32 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008385/0.9629, allocations: 2.655 MB / 1.16 GB, free: 12.66 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005748/0.9687, allocations: 1.833 MB / 1.162 GB, free: 10.84 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01511/0.9838, allocations: 11.43 MB / 1.173 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005521/0.9894, allocations: 2.862 MB / 1.176 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006442/0.9959, allocations: 2.836 MB / 1.178 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005382/1.001, allocations: 2.692 MB / 1.181 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001148/1.002, allocations: 148 kB / 1.181 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005463/1.008, allocations: 1.474 MB / 1.183 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.002009/1.01, allocations: 0.8834 MB / 1.183 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002182/1.012, allocations: 0.7731 MB / 1.184 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.008475/1.021, allocations: 5.147 MB / 1.189 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/1.021, allocations: 7.938 kB / 1.189 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.665e-06/1.021, allocations: 0 / 1.189 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0002472/1.021, allocations: 0 / 1.189 GB, free: 14.46 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 585 * Number of variables: 585 Notification: Performance of Generate backend data structure: time 0.01011/1.031, allocations: 3.824 MB / 1.193 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 7.013e-05/1.031, allocations: 12.03 kB / 1.193 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006877/1.038, allocations: 1.053 MB / 1.194 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01143/1.05, allocations: 3.907 MB / 1.198 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002655/1.05, allocations: 193.1 kB / 1.198 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000995/1.051, allocations: 255.8 kB / 1.198 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00842/1.059, allocations: 3.205 MB / 1.201 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.422e-05/1.059, allocations: 7.938 kB / 1.201 GB, free: 1.715 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005121/1.06, allocations: 103.9 kB / 1.201 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001376/1.06, allocations: 104.3 kB / 1.202 GB, free: 1.508 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006304/1.066, allocations: 2.761 MB / 1.204 GB, free: 14.73 MB / 0.9669 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.02492/1.091, allocations: 13.32 MB / 1.217 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003802/1.095, allocations: 2.183 MB / 1.219 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001843/1.097, allocations: 0.98 MB / 1.22 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01234/1.109, allocations: 4.568 MB / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002286/1.112, allocations: 0.9735 MB / 1.226 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001963/1.114, allocations: 174.4 kB / 1.226 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=130): time 9.427e-06/1.114, allocations: 0 / 1.226 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of matching and sorting (n=133): time 0.014/1.128, allocations: 5.546 MB / 1.231 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/1.128, allocations: 72.72 kB / 1.231 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005412/1.133, allocations: 2.937 MB / 1.234 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000642/1.134, allocations: 65.7 kB / 1.234 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002122/1.136, allocations: 1.533 MB / 1.236 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009757/1.137, allocations: 477.2 kB / 1.236 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003415/1.138, allocations: 40 kB / 1.236 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002437/1.138, allocations: 385.8 kB / 1.237 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002567/1.14, allocations: 0.9993 MB / 1.238 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002912/1.143, allocations: 1.568 MB / 1.239 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002807/1.146, allocations: 1.22 MB / 1.24 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/1.146, allocations: 4 kB / 1.24 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.01204/1.158, allocations: 3.759 MB / 1.244 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004332/1.159, allocations: 0.5555 MB / 1.245 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.112e-05/1.159, allocations: 16 kB / 1.245 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006763/1.165, allocations: 1.176 MB / 1.246 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002346/1.168, allocations: 491.2 kB / 1.246 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6344/1.802, allocations: 3.221 MB / 1.249 GB, free: 274.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004144/1.806, allocations: 257.2 kB / 1.25 GB, free: 274.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000428/1.807, allocations: 102.6 kB / 1.25 GB, free: 274.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/1.807, allocations: 4.312 kB / 1.25 GB, free: 274.7 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01084/1.818, allocations: 3.413 MB / 1.253 GB, free: 274.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.594e-05/1.818, allocations: 22.77 kB / 1.253 GB, free: 274.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006811/1.825, allocations: 1.217 MB / 1.254 GB, free: 274.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002287/1.827, allocations: 472.1 kB / 1.255 GB, free: 274.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006349/1.833, allocations: 3.301 MB / 1.258 GB, free: 272.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003523/1.837, allocations: 251.9 kB / 1.258 GB, free: 272 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003007/1.837, allocations: 94.3 kB / 1.258 GB, free: 272 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.hysPum.y,hysPum.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (238): * Single equations (assignments): 235 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * 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: 1 {5 6} Notification: Performance of prepare postOptimizeDAE: time 0.002719/1.84, allocations: 1.077 MB / 1.259 GB, free: 271.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001069/1.841, allocations: 311.4 kB / 1.26 GB, free: 271.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005127/1.846, allocations: 2.363 MB / 1.262 GB, free: 270.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.744e-05/1.846, allocations: 15 kB / 1.262 GB, free: 270.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-06/1.846, allocations: 2.5 kB / 1.262 GB, free: 270.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003876/1.85, allocations: 2.031 MB / 1.264 GB, free: 269.6 MB / 0.9981 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 postOpt removeSimpleEquations (simulation): time 0.01095/1.861, allocations: 5.129 MB / 1.269 GB, free: 267 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/1.861, allocations: 1.438 kB / 1.269 GB, free: 267 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/1.863, allocations: 305.6 kB / 1.269 GB, free: 267 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007856/1.863, allocations: 275.1 kB / 1.27 GB, free: 266.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001298/1.864, allocations: 43.81 kB / 1.27 GB, free: 266.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005275/1.869, allocations: 8.66 MB / 1.278 GB, free: 258.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.869, allocations: 5.312 kB / 1.278 GB, free: 258.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006391/1.875, allocations: 3.275 MB / 1.281 GB, free: 256.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001755/1.877, allocations: 0.6077 MB / 1.282 GB, free: 256.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005308/1.878, allocations: 39.28 kB / 1.282 GB, free: 256.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001876/1.88, allocations: 170.7 kB / 1.282 GB, free: 256.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000248/1.88, allocations: 103.1 kB / 1.282 GB, free: 256.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/1.88, allocations: 70.06 kB / 1.282 GB, free: 256 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00334/1.883, allocations: 1.993 MB / 1.284 GB, free: 255 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.062e-06/1.883, allocations: 0 / 1.284 GB, free: 255 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005763/1.889, allocations: 1.577 MB / 1.286 GB, free: 254.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.filter.s[1],pumRad.filter.s[2]) * Number of discrete variables: 4 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.tab.nextTimeEvent,hysPum.y,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (139): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002012/1.891, allocations: 0.8192 MB / 1.286 GB, free: 254.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01125/1.902, allocations: 4.45 MB / 1.291 GB, free: 252.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/1.902, allocations: 2.625 kB / 1.291 GB, free: 252.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00209/1.905, allocations: 1.616 MB / 1.292 GB, free: 251.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007853/1.912, allocations: 1.671 MB / 1.294 GB, free: 250.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/1.925, allocations: 7.801 MB / 1.302 GB, free: 243.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001633/1.926, allocations: 2.381 MB / 1.304 GB, free: 240.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004241/1.93, allocations: 1.118 MB / 1.305 GB, free: 239.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007267/1.931, allocations: 251.3 kB / 1.305 GB, free: 239.3 MB / 0.9981 GB Notification: Performance of SimCode: time 9.42e-07/1.931, allocations: 0 / 1.305 GB, free: 239.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.09744/2.029, allocations: 68.72 MB / 1.372 GB, free: 171.3 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_9_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.Boiler.System2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_Boiler_System2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches