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.001115/0.001115, allocations: 108 kB / 15.6 MB, free: 132 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.001263/0.001263, allocations: 194 kB / 16.53 MB, free: 6.391 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.492/1.492, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.552/2.552, allocations: 390.2 MB / 0.6647 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.89 kB / 0.8125 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.94/0.9413, allocations: 140.4 MB / 0.9496 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2298/1.171, allocations: 162.9 MB / 1.109 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006391/1.178, allocations: 3.477 MB / 1.112 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000889/1.178, allocations: 19.88 kB / 1.112 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001124/1.18, allocations: 278.5 kB / 1.112 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002642/1.182, allocations: 0.8555 MB / 1.113 GB, free: 9.684 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001415/1.184, allocations: 469.9 kB / 1.114 GB, free: 9.227 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001907/1.186, allocations: 1.102 MB / 1.115 GB, free: 8.117 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006654/1.186, allocations: 320.2 kB / 1.115 GB, free: 7.805 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009449/1.187, allocations: 406.3 kB / 1.115 GB, free: 7.406 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/1.189, allocations: 349.1 kB / 1.116 GB, free: 7.066 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 8.818e-05/1.189, allocations: 44 kB / 1.116 GB, free: 7.023 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001837/1.191, allocations: 0.6937 MB / 1.116 GB, free: 6.328 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002366/1.191, allocations: 167.5 kB / 1.117 GB, free: 6.164 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003475/1.191, allocations: 270.7 kB / 1.117 GB, free: 5.898 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001564/1.193, allocations: 0.927 MB / 1.118 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/1.193, allocations: 0 / 1.118 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.723e-06/1.193, allocations: 0 / 1.118 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.247e-06/1.193, allocations: 0 / 1.118 GB, free: 4.969 MB / 0.8731 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.001546/1.194, allocations: 0.8719 MB / 1.119 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/1.194, allocations: 8.031 kB / 1.119 GB, free: 4.035 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/1.195, allocations: 151.2 kB / 1.119 GB, free: 3.887 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007267/1.196, allocations: 0.4929 MB / 1.119 GB, free: 3.355 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/1.196, allocations: 20.56 kB / 1.119 GB, free: 3.336 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.485e-05/1.196, allocations: 28 kB / 1.119 GB, free: 3.309 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005849/1.197, allocations: 319.6 kB / 1.12 GB, free: 2.984 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/1.197, allocations: 4 kB / 1.12 GB, free: 2.98 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/1.197, allocations: 12 kB / 1.12 GB, free: 2.969 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.852e-05/1.197, allocations: 16.55 kB / 1.12 GB, free: 2.953 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00042/1.197, allocations: 218.1 kB / 1.12 GB, free: 2.738 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.002057/1.199, allocations: 1.418 MB / 1.121 GB, free: 1.188 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000393/1.2, allocations: 222.7 kB / 1.121 GB, free: 0.9609 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/1.2, allocations: 116.8 kB / 1.122 GB, free: 0.8438 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/1.2, allocations: 0 / 1.122 GB, free: 0.8438 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003143/1.2, allocations: 169.2 kB / 1.122 GB, free: 0.668 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 1.533e-06/1.2, allocations: 0 / 1.122 GB, free: 0.668 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29): time 0.002952/1.203, allocations: 1.083 MB / 1.123 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/1.203, allocations: 59.34 kB / 1.123 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005409/1.204, allocations: 465.8 kB / 1.123 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/1.204, allocations: 33.7 kB / 1.123 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/1.204, allocations: 232.3 kB / 1.124 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/1.204, allocations: 102.5 kB / 1.124 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/1.205, allocations: 77.97 kB / 1.124 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001591/1.205, allocations: 358.8 kB / 1.124 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/1.205, allocations: 124.7 kB / 1.124 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/1.205, allocations: 182.7 kB / 1.124 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004622/1.206, allocations: 311.8 kB / 1.125 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.206, allocations: 3.938 kB / 1.125 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009766/1.207, allocations: 486 kB / 1.125 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/1.207, allocations: 5.406 kB / 1.125 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/1.207, allocations: 4 kB / 1.125 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003785/1.207, allocations: 84.8 kB / 1.125 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/1.207, allocations: 71.84 kB / 1.125 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001908/1.209, allocations: 1.911 MB / 1.127 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003328/1.21, allocations: 11.97 kB / 1.127 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.698e-05/1.21, allocations: 16 kB / 1.127 GB, free: 10.81 MB / 0.8887 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.0002532/1.21, allocations: 186.1 kB / 1.127 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.103e-05/1.21, allocations: 55.44 kB / 1.127 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/1.21, allocations: 52.62 kB / 1.127 GB, free: 10.51 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/1.21, allocations: 4.047 kB / 1.127 GB, free: 10.51 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/1.21, allocations: 3.984 kB / 1.127 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/1.21, allocations: 3.984 kB / 1.127 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/1.212, allocations: 0.9643 MB / 1.128 GB, free: 9.477 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/1.212, allocations: 4 kB / 1.128 GB, free: 9.473 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000353/1.212, allocations: 63.91 kB / 1.128 GB, free: 9.41 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002923/1.212, allocations: 72.78 kB / 1.129 GB, free: 9.336 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/1.212, allocations: 28.05 kB / 1.129 GB, free: 9.309 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/1.214, allocations: 1.636 MB / 1.13 GB, free: 7.531 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.214, allocations: 0 / 1.13 GB, free: 7.531 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/1.215, allocations: 0.5744 MB / 1.131 GB, free: 6.938 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/1.215, allocations: 148.6 kB / 1.131 GB, free: 6.773 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-05/1.215, allocations: 11.98 kB / 1.131 GB, free: 6.762 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/1.216, allocations: 12.8 kB / 1.131 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.901e-05/1.216, allocations: 20.2 kB / 1.131 GB, free: 6.73 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/1.216, allocations: 11.98 kB / 1.131 GB, free: 6.719 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003748/1.216, allocations: 311.1 kB / 1.131 GB, free: 6.414 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.41e-07/1.216, allocations: 0 / 1.131 GB, free: 6.414 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000538/1.217, allocations: 128 kB / 1.131 GB, free: 6.289 MB / 0.8887 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.001094/1.218, allocations: 444 kB / 1.132 GB, free: 6.008 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0008486/1.219, allocations: 438.4 kB / 1.132 GB, free: 5.566 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.219, allocations: 0 / 1.132 GB, free: 5.566 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003196/1.219, allocations: 247.1 kB / 1.132 GB, free: 5.312 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/1.22, allocations: 243.4 kB / 1.133 GB, free: 5.078 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/1.222, allocations: 1.012 MB / 1.134 GB, free: 4.043 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005275/1.223, allocations: 0.8465 MB / 1.134 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003558/1.223, allocations: 84.31 kB / 1.135 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/1.223, allocations: 39.42 kB / 1.135 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of SimCode: time 3.91e-07/1.223, allocations: 0 / 1.135 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of Templates: time 0.01606/1.239, allocations: 8.814 MB / 1.143 GB, free: 10.36 MB / 0.9044 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches