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.001101/0.001101, allocations: 107.6 kB / 16.37 MB, free: 6.477 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.001265/0.001265, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.537/2.537, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 66.69 kB / 0.8773 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.317, allocations: 153 MB / 1.027 GB, free: 2.109 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.7503/1.067, allocations: 162.9 MB / 1.186 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005428/1.073, allocations: 3.481 MB / 1.189 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006285/1.074, allocations: 21 kB / 1.189 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008259/1.074, allocations: 273.6 kB / 1.189 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002032/1.076, allocations: 0.8614 MB / 1.19 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001132/1.078, allocations: 486.1 kB / 1.191 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001301/1.079, allocations: 1.095 MB / 1.192 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004247/1.079, allocations: 336.8 kB / 1.192 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000591/1.08, allocations: 405.1 kB / 1.193 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008306/1.081, allocations: 344.4 kB / 1.193 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.07e-05/1.081, allocations: 39.53 kB / 1.193 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/1.082, allocations: 0.6918 MB / 1.194 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001884/1.082, allocations: 166 kB / 1.194 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002758/1.083, allocations: 276.1 kB / 1.194 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/1.084, allocations: 0.9324 MB / 1.195 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/1.084, allocations: 0 / 1.195 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.433e-06/1.084, allocations: 1.375 kB / 1.195 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.276e-06/1.084, allocations: 0 / 1.195 GB, free: 10.59 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.001319/1.085, allocations: 0.8702 MB / 1.196 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/1.085, allocations: 9.625 kB / 1.196 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/1.086, allocations: 153.6 kB / 1.196 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007999/1.087, allocations: 0.4979 MB / 1.196 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/1.087, allocations: 20.22 kB / 1.196 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.906e-05/1.087, allocations: 40.17 kB / 1.197 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005396/1.088, allocations: 317.5 kB / 1.197 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/1.088, allocations: 0 / 1.197 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.409e-05/1.088, allocations: 11.88 kB / 1.197 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/1.088, allocations: 14.44 kB / 1.197 GB, free: 9.113 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004199/1.088, allocations: 223.8 kB / 1.197 GB, free: 9.004 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.001913/1.09, allocations: 1.403 MB / 1.198 GB, free: 7.738 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004031/1.091, allocations: 222.3 kB / 1.199 GB, free: 7.613 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/1.091, allocations: 113.9 kB / 1.199 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.667e-05/1.091, allocations: 4.344 kB / 1.199 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003108/1.091, allocations: 166.3 kB / 1.199 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=26): time 1.883e-06/1.091, allocations: 0 / 1.199 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29): time 0.002779/1.094, allocations: 1.094 MB / 1.2 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/1.094, allocations: 61.88 kB / 1.2 GB, free: 6.637 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004884/1.094, allocations: 459.9 kB / 1.2 GB, free: 6.363 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/1.094, allocations: 36.08 kB / 1.2 GB, free: 6.324 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/1.095, allocations: 238.8 kB / 1.201 GB, free: 6.113 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.438e-05/1.095, allocations: 99.55 kB / 1.201 GB, free: 6.027 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/1.095, allocations: 78.78 kB / 1.201 GB, free: 5.973 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.095, allocations: 351.8 kB / 1.201 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/1.095, allocations: 135.8 kB / 1.201 GB, free: 5.562 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/1.095, allocations: 180 kB / 1.202 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004754/1.096, allocations: 309 kB / 1.202 GB, free: 5.254 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.096, allocations: 0 / 1.202 GB, free: 5.254 MB / 0.9044 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008966/1.097, allocations: 497.1 kB / 1.202 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/1.097, allocations: 5.281 kB / 1.202 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/1.097, allocations: 6.391 kB / 1.202 GB, free: 4.98 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003364/1.097, allocations: 80.33 kB / 1.202 GB, free: 4.938 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/1.098, allocations: 59.52 kB / 1.202 GB, free: 4.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/1.099, allocations: 1.904 MB / 1.204 GB, free: 3.117 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003437/1.1, allocations: 16.27 kB / 1.204 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.463e-05/1.1, allocations: 16.28 kB / 1.204 GB, free: 3.098 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.0002162/1.1, allocations: 187.5 kB / 1.205 GB, free: 2.938 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.019e-05/1.1, allocations: 50.25 kB / 1.205 GB, free: 2.91 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/1.1, allocations: 60.25 kB / 1.205 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/1.1, allocations: 6.812 kB / 1.205 GB, free: 2.867 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.902e-06/1.1, allocations: 0 / 1.205 GB, free: 2.867 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-06/1.1, allocations: 8.016 kB / 1.205 GB, free: 2.859 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/1.102, allocations: 0.9606 MB / 1.206 GB, free: 2.129 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/1.102, allocations: 0 / 1.206 GB, free: 2.129 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003678/1.102, allocations: 66.47 kB / 1.206 GB, free: 2.113 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002896/1.102, allocations: 83.78 kB / 1.206 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/1.102, allocations: 6.938 kB / 1.206 GB, free: 2.059 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/1.104, allocations: 1.647 MB / 1.207 GB, free: 456 kB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/1.104, allocations: 3.938 kB / 1.207 GB, free: 452 kB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009406/1.105, allocations: 0.568 MB / 1.208 GB, free: 76 kB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002183/1.105, allocations: 147.2 kB / 1.208 GB, free: 15.93 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.158e-05/1.105, allocations: 6.312 kB / 1.208 GB, free: 15.93 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003236/1.105, allocations: 14.48 kB / 1.208 GB, free: 15.92 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/1.105, allocations: 29.88 kB / 1.208 GB, free: 15.9 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/1.105, allocations: 12.94 kB / 1.208 GB, free: 15.89 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003438/1.106, allocations: 309.1 kB / 1.208 GB, free: 15.71 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/1.106, allocations: 0 / 1.208 GB, free: 15.71 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005386/1.106, allocations: 130 kB / 1.209 GB, free: 15.69 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.001093/1.107, allocations: 429 kB / 1.209 GB, free: 15.48 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0006835/1.108, allocations: 427.2 kB / 1.209 GB, free: 15.22 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.108, allocations: 320 / 1.209 GB, free: 15.22 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002819/1.108, allocations: 252.2 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.0009843/1.109, allocations: 240.3 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.001525/1.111, allocations: 1 MB / 1.211 GB, free: 14.25 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/1.111, allocations: 0.8493 MB / 1.212 GB, free: 13.47 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002658/1.112, allocations: 83.27 kB / 1.212 GB, free: 13.43 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.459e-05/1.112, allocations: 38.16 kB / 1.212 GB, free: 13.42 MB / 0.92 GB Notification: Performance of SimCode: time 2.3e-07/1.112, allocations: 0 / 1.212 GB, free: 13.42 MB / 0.92 GB Notification: Performance of Templates: time 0.01384/1.126, allocations: 8.808 MB / 1.22 GB, free: 6.719 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 gbode -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