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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001346/0.001346, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001378/0.001378, allocations: 195.9 kB / 16.26 MB, free: 6.629 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.456/1.456, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.793/2.793, allocations: 437 MB / 0.7101 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 64.08 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6024/0.6044, allocations: 151.6 MB / 1.017 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1952/0.7996, allocations: 160.7 MB / 1.174 GB, free: 1.531 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005802/0.8055, allocations: 3.448 MB / 1.177 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006398/0.8061, allocations: 11.94 kB / 1.177 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008935/0.807, allocations: 254.9 kB / 1.177 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002251/0.8093, allocations: 0.7976 MB / 1.178 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.8106, allocations: 434.7 kB / 1.179 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001711/0.8124, allocations: 1.087 MB / 1.18 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000598/0.813, allocations: 336 kB / 1.18 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008244/0.8138, allocations: 402.4 kB / 1.18 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.815, allocations: 367.1 kB / 1.181 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.8151, allocations: 40 kB / 1.181 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.8165, allocations: 0.7365 MB / 1.181 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000236/0.8167, allocations: 163.5 kB / 1.182 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003591/0.8171, allocations: 270.7 kB / 1.182 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0016/0.8187, allocations: 0.9659 MB / 1.183 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.8187, allocations: 4 kB / 1.183 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8187, allocations: 0 / 1.183 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.715e-05/0.8188, allocations: 0 / 1.183 GB, free: 8.242 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.001665/0.8204, allocations: 0.868 MB / 1.184 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.8205, allocations: 11.97 kB / 1.184 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.8216, allocations: 159.1 kB / 1.184 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008239/0.8225, allocations: 488.9 kB / 1.184 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.8225, allocations: 24.56 kB / 1.184 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.117e-05/0.8226, allocations: 35.91 kB / 1.184 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000616/0.8232, allocations: 315.6 kB / 1.185 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.8232, allocations: 3.984 kB / 1.185 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.569e-05/0.8233, allocations: 12 kB / 1.185 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/0.8233, allocations: 20.56 kB / 1.185 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004549/0.8238, allocations: 218.1 kB / 1.185 GB, free: 6.004 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.002701/0.8265, allocations: 1.414 MB / 1.186 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.8269, allocations: 222.7 kB / 1.186 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/0.8272, allocations: 112.8 kB / 1.187 GB, free: 4.117 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.46e-05/0.8273, allocations: 4 kB / 1.187 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003655/0.8277, allocations: 161 kB / 1.187 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 6.963e-06/0.8277, allocations: 3.984 kB / 1.187 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29): time 0.003235/0.8309, allocations: 1.095 MB / 1.188 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.831, allocations: 55.34 kB / 1.188 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005875/0.8316, allocations: 457.9 kB / 1.188 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.8316, allocations: 33.7 kB / 1.188 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.8318, allocations: 244.2 kB / 1.189 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.832, allocations: 98.59 kB / 1.189 GB, free: 1.883 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.8321, allocations: 81.97 kB / 1.189 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.8323, allocations: 354.8 kB / 1.189 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.8325, allocations: 120.7 kB / 1.189 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.8328, allocations: 186.7 kB / 1.189 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004992/0.8333, allocations: 311.8 kB / 1.19 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.8333, allocations: 0 / 1.19 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001068/0.8344, allocations: 493.9 kB / 1.19 GB, free: 320 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.8345, allocations: 4 kB / 1.19 GB, free: 316 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.8345, allocations: 4 kB / 1.19 GB, free: 312 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000392/0.8349, allocations: 88.86 kB / 1.19 GB, free: 220 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.8352, allocations: 63.91 kB / 1.19 GB, free: 156 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/0.8373, allocations: 1.908 MB / 1.192 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004397/0.8377, allocations: 31.94 kB / 1.192 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.06e-05/0.8378, allocations: 11.98 kB / 1.192 GB, free: 14.07 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.0002795/0.8381, allocations: 190.3 kB / 1.192 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.265e-05/0.8382, allocations: 47.47 kB / 1.192 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.8383, allocations: 52.61 kB / 1.192 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.8383, allocations: 4 kB / 1.192 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.8383, allocations: 4 kB / 1.192 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.8383, allocations: 0 / 1.192 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/0.8402, allocations: 0.9725 MB / 1.193 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.8402, allocations: 0 / 1.193 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003735/0.8405, allocations: 63.91 kB / 1.193 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003279/0.8409, allocations: 84.81 kB / 1.194 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/0.8409, allocations: 11.94 kB / 1.194 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/0.8427, allocations: 1.645 MB / 1.195 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.8427, allocations: 0 / 1.195 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.8439, allocations: 0.5864 MB / 1.196 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002567/0.8442, allocations: 148.5 kB / 1.196 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.427e-05/0.8443, allocations: 16.06 kB / 1.196 GB, free: 10 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003721/0.8446, allocations: 23.92 kB / 1.196 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.066e-05/0.8447, allocations: 19.91 kB / 1.196 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-05/0.8448, allocations: 12 kB / 1.196 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004456/0.8452, allocations: 307.1 kB / 1.196 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8452, allocations: 0 / 1.196 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006202/0.8459, allocations: 128 kB / 1.196 GB, free: 9.52 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.001728/0.8476, allocations: 428.9 kB / 1.197 GB, free: 9.25 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009813/0.8486, allocations: 438.6 kB / 1.197 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.8486, allocations: 0 / 1.197 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000382/0.849, allocations: 262.4 kB / 1.197 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.8502, allocations: 239.3 kB / 1.198 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.8526, allocations: 1.14 MB / 1.199 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006132/0.8532, allocations: 0.8504 MB / 1.2 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004486/0.8537, allocations: 92.27 kB / 1.2 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.8538, allocations: 39.42 kB / 1.2 GB, free: 6.145 MB / 0.9512 GB Notification: Performance of SimCode: time 8.22e-07/0.8538, allocations: 0 / 1.2 GB, free: 6.145 MB / 0.9512 GB Notification: Performance of Templates: time 0.01855/0.8724, allocations: 8.785 MB / 1.208 GB, free: 13.48 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches