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.001956/0.001956, 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.002109/0.002109, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.496/1.496, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.746/2.746, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 67.89 kB / 0.8692 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5852/0.5871, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1983/0.7854, allocations: 162.9 MB / 1.176 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005934/0.7914, allocations: 3.475 MB / 1.18 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006076/0.792, allocations: 23.88 kB / 1.18 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008488/0.7929, allocations: 274.5 kB / 1.18 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002243/0.7952, allocations: 0.8555 MB / 1.181 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.7966, allocations: 482.5 kB / 1.181 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001576/0.7982, allocations: 1.095 MB / 1.182 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004923/0.7987, allocations: 332 kB / 1.183 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000691/0.7994, allocations: 402.4 kB / 1.183 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009684/0.8004, allocations: 345.1 kB / 1.183 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.708e-05/0.8004, allocations: 40 kB / 1.183 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.8019, allocations: 0.6938 MB / 1.184 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.8021, allocations: 163.5 kB / 1.184 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003235/0.8025, allocations: 278.6 kB / 1.185 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.8038, allocations: 0.9193 MB / 1.185 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.8039, allocations: 4 kB / 1.185 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.119e-06/0.8039, allocations: 0 / 1.185 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.8039, allocations: 3.938 kB / 1.185 GB, free: 5.578 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.001561/0.8055, allocations: 0.8602 MB / 1.186 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.8055, allocations: 12.03 kB / 1.186 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.8066, allocations: 155.1 kB / 1.186 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007854/0.8074, allocations: 0.4892 MB / 1.187 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.8074, allocations: 20.56 kB / 1.187 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.31e-05/0.8075, allocations: 31.91 kB / 1.187 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006191/0.8081, allocations: 323.6 kB / 1.187 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.8082, allocations: 0 / 1.187 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.761e-05/0.8082, allocations: 12 kB / 1.187 GB, free: 3.582 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/0.8082, allocations: 8.562 kB / 1.187 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000455/0.8087, allocations: 226.1 kB / 1.188 GB, free: 3.352 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.002142/0.8108, allocations: 1.426 MB / 1.189 GB, free: 1.793 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/0.8113, allocations: 214.8 kB / 1.189 GB, free: 1.574 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.8115, allocations: 112.8 kB / 1.189 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.8115, allocations: 4 kB / 1.189 GB, free: 1.457 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003348/0.8119, allocations: 165.9 kB / 1.189 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 1.844e-06/0.8119, allocations: 0 / 1.189 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29): time 0.003048/0.8149, allocations: 1.083 MB / 1.19 GB, free: 148 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.815, allocations: 63.28 kB / 1.191 GB, free: 72 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006231/0.8156, allocations: 457.9 kB / 1.191 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.8157, allocations: 41.7 kB / 1.191 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.8159, allocations: 232.2 kB / 1.191 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.816, allocations: 106.6 kB / 1.191 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.8162, allocations: 69.98 kB / 1.191 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001969/0.8164, allocations: 362.7 kB / 1.192 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002464/0.8166, allocations: 128.7 kB / 1.192 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000301/0.8169, allocations: 186.7 kB / 1.192 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005161/0.8175, allocations: 303.8 kB / 1.192 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.8175, allocations: 0 / 1.192 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001053/0.8185, allocations: 485.8 kB / 1.193 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.8186, allocations: 8 kB / 1.193 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.8186, allocations: 0 / 1.193 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003817/0.819, allocations: 88.89 kB / 1.193 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.8193, allocations: 71.91 kB / 1.193 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/0.8215, allocations: 1.908 MB / 1.195 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003522/0.8218, allocations: 15.97 kB / 1.195 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.251e-05/0.8219, allocations: 19.98 kB / 1.195 GB, free: 11.42 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.0002918/0.8222, allocations: 185.8 kB / 1.195 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.33e-05/0.8223, allocations: 47.38 kB / 1.195 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.8224, allocations: 56.61 kB / 1.195 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.8224, allocations: 0 / 1.195 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.8224, allocations: 4 kB / 1.195 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.8224, allocations: 4.062 kB / 1.195 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.8241, allocations: 0.9719 MB / 1.196 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.8242, allocations: 0 / 1.196 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003629/0.8245, allocations: 59.91 kB / 1.196 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003269/0.8249, allocations: 88.69 kB / 1.196 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.117e-05/0.8249, allocations: 11.94 kB / 1.196 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/0.8267, allocations: 1.649 MB / 1.198 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.8267, allocations: 8.094 kB / 1.198 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.8279, allocations: 0.562 MB / 1.198 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/0.8281, allocations: 152.6 kB / 1.199 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.031e-05/0.8281, allocations: 7.938 kB / 1.199 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/0.8285, allocations: 25.12 kB / 1.199 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.4e-05/0.8286, allocations: 19.97 kB / 1.199 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/0.8286, allocations: 8 kB / 1.199 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004137/0.829, allocations: 307.1 kB / 1.199 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8291, allocations: 0 / 1.199 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000591/0.8296, allocations: 128 kB / 1.199 GB, free: 6.898 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.001606/0.8313, allocations: 439.2 kB / 1.199 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008886/0.8322, allocations: 434.4 kB / 1.2 GB, free: 6.18 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.8322, allocations: 4.312 kB / 1.2 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003502/0.8325, allocations: 255 kB / 1.2 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.8337, allocations: 245.4 kB / 1.2 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.8355, allocations: 1.007 MB / 1.201 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005175/0.836, allocations: 0.8504 MB / 1.202 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003381/0.8364, allocations: 80.34 kB / 1.202 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.8365, allocations: 35.44 kB / 1.202 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of SimCode: time 3e-07/0.8365, allocations: 3.938 kB / 1.202 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of Templates: time 0.01833/0.8548, allocations: 8.821 MB / 1.211 GB, free: 10.97 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