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.001165/0.001165, allocations: 107 kB / 16.36 MB, free: 6.336 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.001067/0.001067, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.535/2.535, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 70.7 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3508, allocations: 153 MB / 1.027 GB, free: 2.094 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.8889/1.24, allocations: 162.9 MB / 1.186 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007205/1.247, allocations: 3.476 MB / 1.189 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/1.248, allocations: 19.41 kB / 1.189 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/1.249, allocations: 271.3 kB / 1.189 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003378/1.253, allocations: 0.8606 MB / 1.19 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001789/1.255, allocations: 493 kB / 1.191 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002315/1.257, allocations: 1.09 MB / 1.192 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005771/1.258, allocations: 334.6 kB / 1.192 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008939/1.258, allocations: 396.9 kB / 1.193 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/1.26, allocations: 353.2 kB / 1.193 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.715e-05/1.26, allocations: 40.62 kB / 1.193 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002128/1.262, allocations: 0.6917 MB / 1.194 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002774/1.262, allocations: 164.2 kB / 1.194 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004367/1.262, allocations: 281.3 kB / 1.194 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001958/1.264, allocations: 0.9297 MB / 1.195 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.38e-05/1.264, allocations: 5.359 kB / 1.195 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.084e-06/1.264, allocations: 0 / 1.195 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.053e-05/1.265, allocations: 0 / 1.195 GB, free: 10.6 MB / 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.001641/1.266, allocations: 0.8664 MB / 1.196 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/1.266, allocations: 10.03 kB / 1.196 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/1.267, allocations: 150.8 kB / 1.196 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009432/1.268, allocations: 0.5016 MB / 1.196 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/1.268, allocations: 20.16 kB / 1.196 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.786e-05/1.268, allocations: 36.19 kB / 1.196 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006804/1.269, allocations: 321.5 kB / 1.197 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/1.269, allocations: 7.922 kB / 1.197 GB, free: 9.133 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.187e-05/1.269, allocations: 16.55 kB / 1.197 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.172e-05/1.269, allocations: 10.22 kB / 1.197 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004632/1.27, allocations: 219.2 kB / 1.197 GB, free: 9.016 MB / 0.9044 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.002146/1.272, allocations: 1.404 MB / 1.198 GB, free: 7.75 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004056/1.272, allocations: 218 kB / 1.199 GB, free: 7.629 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/1.272, allocations: 109.1 kB / 1.199 GB, free: 7.57 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.197e-05/1.272, allocations: 2.594 kB / 1.199 GB, free: 7.57 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003109/1.273, allocations: 165.6 kB / 1.199 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=26): time 1.954e-06/1.273, allocations: 0 / 1.199 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29): time 0.003038/1.276, allocations: 1.098 MB / 1.2 GB, free: 6.723 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/1.276, allocations: 53.97 kB / 1.2 GB, free: 6.66 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005891/1.277, allocations: 464 kB / 1.2 GB, free: 6.383 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/1.277, allocations: 35.89 kB / 1.2 GB, free: 6.344 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/1.277, allocations: 243 kB / 1.201 GB, free: 6.129 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.809e-05/1.277, allocations: 95.94 kB / 1.201 GB, free: 6.047 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/1.277, allocations: 78.22 kB / 1.201 GB, free: 5.992 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.277, allocations: 353.3 kB / 1.201 GB, free: 5.648 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/1.277, allocations: 130 kB / 1.201 GB, free: 5.586 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/1.278, allocations: 185.4 kB / 1.202 GB, free: 5.461 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004476/1.278, allocations: 305.2 kB / 1.202 GB, free: 5.277 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/1.278, allocations: 0 / 1.202 GB, free: 5.277 MB / 0.9044 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009626/1.279, allocations: 497.2 kB / 1.202 GB, free: 5.008 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/1.279, allocations: 9.625 kB / 1.202 GB, free: 5.004 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/1.279, allocations: 2.5 kB / 1.202 GB, free: 5.004 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003734/1.28, allocations: 84.77 kB / 1.202 GB, free: 4.957 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/1.28, allocations: 67.25 kB / 1.202 GB, free: 4.941 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/1.282, allocations: 1.906 MB / 1.204 GB, free: 3.125 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003984/1.282, allocations: 17.03 kB / 1.204 GB, free: 3.113 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/1.282, allocations: 14.56 kB / 1.204 GB, free: 3.109 MB / 0.9044 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.0002999/1.283, allocations: 196.1 kB / 1.205 GB, free: 2.941 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.394e-05/1.283, allocations: 50.03 kB / 1.205 GB, free: 2.914 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/1.283, allocations: 53.03 kB / 1.205 GB, free: 2.875 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/1.283, allocations: 6.703 kB / 1.205 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/1.283, allocations: 1.812 kB / 1.205 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/1.283, allocations: 0 / 1.205 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/1.284, allocations: 0.9659 MB / 1.206 GB, free: 2.137 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.284, allocations: 0 / 1.206 GB, free: 2.137 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003516/1.285, allocations: 63.39 kB / 1.206 GB, free: 2.121 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000294/1.285, allocations: 80.02 kB / 1.206 GB, free: 2.074 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.18e-05/1.285, allocations: 16.7 kB / 1.206 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/1.287, allocations: 1.651 MB / 1.207 GB, free: 456 kB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.287, allocations: 3.938 kB / 1.207 GB, free: 452 kB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/1.288, allocations: 0.5641 MB / 1.208 GB, free: 80 kB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002466/1.288, allocations: 149.5 kB / 1.208 GB, free: 15.93 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.064e-05/1.288, allocations: 8.406 kB / 1.208 GB, free: 15.93 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/1.288, allocations: 8.719 kB / 1.208 GB, free: 15.93 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/1.288, allocations: 29.81 kB / 1.208 GB, free: 15.91 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.079e-05/1.288, allocations: 15.05 kB / 1.208 GB, free: 15.9 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000362/1.289, allocations: 305.9 kB / 1.208 GB, free: 15.72 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.553e-06/1.289, allocations: 0 / 1.208 GB, free: 15.72 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005695/1.289, allocations: 131.9 kB / 1.208 GB, free: 15.7 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 (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.001116/1.291, allocations: 432.1 kB / 1.209 GB, free: 15.49 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00078/1.291, allocations: 429.3 kB / 1.209 GB, free: 15.22 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.291, allocations: 0 / 1.209 GB, free: 15.22 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003111/1.292, allocations: 250 kB / 1.21 GB, free: 15.04 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/1.293, allocations: 249.1 kB / 1.21 GB, free: 14.91 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/1.295, allocations: 0.9827 MB / 1.211 GB, free: 14.26 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005072/1.295, allocations: 0.8519 MB / 1.212 GB, free: 13.48 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0003707/1.296, allocations: 78.81 kB / 1.212 GB, free: 13.45 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/1.296, allocations: 45.11 kB / 1.212 GB, free: 13.43 MB / 0.92 GB Notification: Performance of SimCode: time 7.91e-07/1.296, allocations: 4 kB / 1.212 GB, free: 13.43 MB / 0.92 GB Notification: Performance of Templates: time 0.01654/1.312, allocations: 8.8 MB / 1.22 GB, free: 6.727 MB / 0.92 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches