Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_10_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_10_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.0009716/0.0009716, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 178.3 kB / 16.92 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.679/2.679, allocations: 437.8 MB / 0.7128 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003323/0.0003325, allocations: 8 kB / 0.8735 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5951/0.5954, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1685/0.7639, allocations: 158.6 MB / 1.179 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00549/0.7695, allocations: 3.476 MB / 1.182 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005673/0.7701, allocations: 15.88 kB / 1.182 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007807/0.7709, allocations: 234.9 kB / 1.182 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001993/0.7729, allocations: 0.8093 MB / 1.183 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.774, allocations: 422.7 kB / 1.183 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001495/0.7755, allocations: 1.372 MB / 1.185 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003644/0.7758, allocations: 276 kB / 1.185 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005209/0.7764, allocations: 338.4 kB / 1.185 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008163/0.7772, allocations: 342.8 kB / 1.186 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.392e-05/0.7773, allocations: 12 kB / 1.186 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.7786, allocations: 0.791 MB / 1.186 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.7788, allocations: 147.5 kB / 1.187 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002658/0.7791, allocations: 264.3 kB / 1.187 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008239/0.7799, allocations: 0.6898 MB / 1.187 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.78, allocations: 0 / 1.187 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.517e-06/0.78, allocations: 0 / 1.187 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.78, allocations: 3.938 kB / 1.187 GB, free: 7.547 MB / 0.9356 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.001305/0.7813, allocations: 0.7708 MB / 1.188 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.7813, allocations: 8.031 kB / 1.188 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.7824, allocations: 155.2 kB / 1.188 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007185/0.7831, allocations: 496.8 kB / 1.189 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.715e-05/0.7832, allocations: 20.56 kB / 1.189 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.694e-05/0.7832, allocations: 32 kB / 1.189 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005542/0.7838, allocations: 315.6 kB / 1.189 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.7838, allocations: 4 kB / 1.189 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.734e-05/0.7839, allocations: 11.98 kB / 1.189 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.628e-05/0.7839, allocations: 20.56 kB / 1.189 GB, free: 5.637 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003996/0.7843, allocations: 222 kB / 1.189 GB, free: 5.418 MB / 0.9356 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.00185/0.7862, allocations: 1.418 MB / 1.191 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000391/0.7866, allocations: 222.7 kB / 1.191 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.7868, allocations: 108.8 kB / 1.191 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.7868, allocations: 0 / 1.191 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000311/0.7871, allocations: 178.2 kB / 1.191 GB, free: 3.344 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 1.683e-06/0.7871, allocations: 3.938 kB / 1.191 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29): time 0.002821/0.79, allocations: 1.087 MB / 1.192 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.79, allocations: 55.34 kB / 1.192 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005191/0.7905, allocations: 465.8 kB / 1.193 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.312e-05/0.7906, allocations: 33.7 kB / 1.193 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.7908, allocations: 236.3 kB / 1.193 GB, free: 1.387 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.185e-05/0.7909, allocations: 98.55 kB / 1.193 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.916e-05/0.7909, allocations: 41.7 kB / 1.193 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.7911, allocations: 354.8 kB / 1.194 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.7913, allocations: 128.7 kB / 1.194 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/0.7916, allocations: 182.7 kB / 1.194 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004668/0.7921, allocations: 303.9 kB / 1.194 GB, free: 260 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.7921, allocations: 7.938 kB / 1.194 GB, free: 252 kB / 0.9356 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009717/0.7931, allocations: 486.1 kB / 1.195 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.7931, allocations: 8 kB / 1.195 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.7931, allocations: 0 / 1.195 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003645/0.7935, allocations: 84.95 kB / 1.195 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.7937, allocations: 71.91 kB / 1.195 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/0.7957, allocations: 1.744 MB / 1.197 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004459/0.7961, allocations: 31.89 kB / 1.197 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.7962, allocations: 19.98 kB / 1.197 GB, free: 13.67 MB / 0.9512 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.0003034/0.7965, allocations: 182.5 kB / 1.197 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.951e-05/0.7966, allocations: 47.44 kB / 1.197 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.7967, allocations: 60.55 kB / 1.197 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.7968, allocations: 4 kB / 1.197 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.7968, allocations: 4 kB / 1.197 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.7968, allocations: 0 / 1.197 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/0.7984, allocations: 0.9648 MB / 1.198 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.7985, allocations: 0 / 1.198 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/0.7988, allocations: 67.84 kB / 1.198 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003091/0.7991, allocations: 76.8 kB / 1.198 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.7992, allocations: 11.98 kB / 1.198 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001413/0.8006, allocations: 1.562 MB / 1.199 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.8006, allocations: 0 / 1.199 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.8017, allocations: 0.5788 MB / 1.2 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001909/0.8019, allocations: 152.5 kB / 1.2 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.903e-05/0.802, allocations: 15.92 kB / 1.2 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000347/0.8023, allocations: 12 kB / 1.2 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/0.8024, allocations: 15.97 kB / 1.2 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.8024, allocations: 15.98 kB / 1.2 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003531/0.8028, allocations: 311.1 kB / 1.201 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8028, allocations: 4 kB / 1.201 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005246/0.8033, allocations: 120 kB / 1.201 GB, free: 9.246 MB / 0.9512 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.0009958/0.8043, allocations: 438.1 kB / 1.201 GB, free: 8.965 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007185/0.8051, allocations: 418.4 kB / 1.201 GB, free: 8.543 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.8051, allocations: 11.98 kB / 1.201 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00032/0.8054, allocations: 246.5 kB / 1.202 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.8066, allocations: 221.1 kB / 1.202 GB, free: 8.066 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.8084, allocations: 1.276 MB / 1.203 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.8088, allocations: 0.8506 MB / 1.204 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.8089, allocations: 39.42 kB / 1.204 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of SimCode: time 7.22e-07/0.8089, allocations: 0 / 1.204 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of Templates: time 0.01193/0.8209, allocations: 9.179 MB / 1.213 GB, free: 12.73 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_10_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches