Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_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_9_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.001446/0.001446, allocations: 102.9 kB / 16.27 MB, free: 5.879 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.001588/0.001588, allocations: 186.7 kB / 17.19 MB, free: 5.523 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.398/1.398, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.258/2.258, allocations: 390.3 MB / 0.6653 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 65.22 kB / 0.8132 GB, free: 32.98 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3149, allocations: 140.4 MB / 0.9503 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.8415/1.157, allocations: 162.9 MB / 1.109 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006473/1.163, allocations: 3.482 MB / 1.113 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/1.164, allocations: 19.81 kB / 1.113 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001005/1.165, allocations: 278 kB / 1.113 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002729/1.168, allocations: 0.8543 MB / 1.114 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001547/1.17, allocations: 477.9 kB / 1.114 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001754/1.171, allocations: 1.088 MB / 1.115 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005158/1.172, allocations: 332.4 kB / 1.116 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007326/1.173, allocations: 403.9 kB / 1.116 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009705/1.174, allocations: 353.1 kB / 1.116 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.577e-05/1.174, allocations: 39.62 kB / 1.116 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001757/1.175, allocations: 0.6991 MB / 1.117 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002393/1.176, allocations: 164.2 kB / 1.117 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003423/1.176, allocations: 272.7 kB / 1.118 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001696/1.178, allocations: 0.9255 MB / 1.118 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/1.178, allocations: 8.781 kB / 1.118 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.172e-06/1.178, allocations: 0 / 1.118 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.576e-06/1.178, allocations: 0 / 1.118 GB, free: 4.941 MB / 0.8575 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.001761/1.179, allocations: 0.8618 MB / 1.119 GB, free: 20.37 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/1.18, allocations: 14.52 kB / 1.119 GB, free: 20.36 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/1.181, allocations: 146.5 kB / 1.119 GB, free: 20.34 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007637/1.181, allocations: 495.5 kB / 1.12 GB, free: 20.07 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/1.181, allocations: 25.44 kB / 1.12 GB, free: 20.07 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.458e-05/1.182, allocations: 38.25 kB / 1.12 GB, free: 20.07 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005797/1.182, allocations: 317.2 kB / 1.12 GB, free: 20.01 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/1.182, allocations: 1.719 kB / 1.12 GB, free: 20.01 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.736e-05/1.182, allocations: 14.12 kB / 1.12 GB, free: 20.01 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/1.182, allocations: 10.89 kB / 1.12 GB, free: 20.01 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004219/1.183, allocations: 218.9 kB / 1.121 GB, free: 20.01 MB / 0.8731 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.00207/1.185, allocations: 1.429 MB / 1.122 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/1.185, allocations: 222.3 kB / 1.122 GB, free: 19.16 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/1.185, allocations: 108.2 kB / 1.122 GB, free: 19.15 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/1.185, allocations: 10.06 kB / 1.122 GB, free: 19.15 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000306/1.186, allocations: 158 kB / 1.122 GB, free: 19.1 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 2.625e-06/1.186, allocations: 4 kB / 1.122 GB, free: 19.1 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29): time 0.002913/1.189, allocations: 1.088 MB / 1.123 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/1.189, allocations: 54.67 kB / 1.124 GB, free: 18.66 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005959/1.189, allocations: 467.4 kB / 1.124 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/1.189, allocations: 32.55 kB / 1.124 GB, free: 18.51 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000169/1.19, allocations: 242.1 kB / 1.124 GB, free: 18.39 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.148e-05/1.19, allocations: 97.62 kB / 1.124 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/1.19, allocations: 77.16 kB / 1.124 GB, free: 18.31 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001558/1.19, allocations: 357.1 kB / 1.125 GB, free: 18 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/1.19, allocations: 124.8 kB / 1.125 GB, free: 18 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/1.19, allocations: 185.5 kB / 1.125 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004372/1.191, allocations: 304.7 kB / 1.125 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.191, allocations: 1.094 kB / 1.125 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000978/1.192, allocations: 487.2 kB / 1.126 GB, free: 17.82 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/1.192, allocations: 5.406 kB / 1.126 GB, free: 17.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.192, allocations: 1.25 kB / 1.126 GB, free: 17.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003547/1.192, allocations: 87.09 kB / 1.126 GB, free: 17.8 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002746/1.193, allocations: 68.81 kB / 1.126 GB, free: 17.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00194/1.194, allocations: 1.914 MB / 1.128 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/1.195, allocations: 18.53 kB / 1.128 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/1.195, allocations: 13 kB / 1.128 GB, free: 16.29 MB / 0.8731 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.000261/1.195, allocations: 191.2 kB / 1.128 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.311e-05/1.195, allocations: 49.78 kB / 1.128 GB, free: 16.15 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/1.195, allocations: 54.8 kB / 1.128 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/1.195, allocations: 5.391 kB / 1.128 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/1.195, allocations: 1.625 kB / 1.128 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/1.195, allocations: 0 / 1.128 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/1.197, allocations: 0.9692 MB / 1.129 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/1.197, allocations: 0 / 1.129 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003483/1.197, allocations: 59.39 kB / 1.129 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002854/1.198, allocations: 83.78 kB / 1.129 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/1.198, allocations: 10.2 kB / 1.129 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/1.199, allocations: 1.648 MB / 1.131 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/1.199, allocations: 1.219 kB / 1.131 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/1.2, allocations: 0.5688 MB / 1.131 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002042/1.2, allocations: 149.9 kB / 1.132 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.743e-05/1.2, allocations: 11.69 kB / 1.132 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003281/1.201, allocations: 12.16 kB / 1.132 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.646e-05/1.201, allocations: 28.44 kB / 1.132 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/1.201, allocations: 10.58 kB / 1.132 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003753/1.201, allocations: 314 kB / 1.132 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/1.201, allocations: 1.203 kB / 1.132 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006289/1.202, allocations: 121.4 kB / 1.132 GB, free: 14.07 MB / 0.8731 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.001055/1.203, allocations: 439.2 kB / 1.132 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008315/1.204, allocations: 448.7 kB / 1.133 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.204, allocations: 4.25 kB / 1.133 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003272/1.204, allocations: 250.6 kB / 1.133 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/1.205, allocations: 238 kB / 1.133 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/1.207, allocations: 1.045 MB / 1.134 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/1.207, allocations: 0.8452 MB / 1.135 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/1.208, allocations: 42.7 kB / 1.135 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of SimCode: time 1.272e-06/1.208, allocations: 0 / 1.135 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of Templates: time 0.01527/1.223, allocations: 9.226 MB / 1.144 GB, free: 11.53 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_9_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches