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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001671/0.001671, allocations: 100.9 kB / 16.27 MB, free: 6.414 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.001792/0.001792, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.419/1.419, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.857/2.857, allocations: 482.4 MB / 0.7553 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 63.94 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7743/0.7763, allocations: 162.2 MB / 1.083 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2075/0.9838, allocations: 162.9 MB / 1.242 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006144/0.99, allocations: 3.489 MB / 1.245 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006467/0.9907, allocations: 15.94 kB / 1.245 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008958/0.9916, allocations: 282.4 kB / 1.246 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00225/0.9939, allocations: 0.8516 MB / 1.247 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.9952, allocations: 478.3 kB / 1.247 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001499/0.9967, allocations: 1.106 MB / 1.248 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004926/0.9972, allocations: 320.2 kB / 1.248 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007606/0.998, allocations: 430.4 kB / 1.249 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009076/0.9989, allocations: 349.5 kB / 1.249 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.827e-05/0.999, allocations: 43.94 kB / 1.249 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/1, allocations: 0.686 MB / 1.25 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002133/1.001, allocations: 171.4 kB / 1.25 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003303/1.001, allocations: 274.6 kB / 1.25 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001403/1.002, allocations: 0.9232 MB / 1.251 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/1.002, allocations: 4 kB / 1.251 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.182e-06/1.002, allocations: 0 / 1.251 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.095e-06/1.002, allocations: 0 / 1.251 GB, free: 2.039 MB / 0.9669 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.001567/1.004, allocations: 0.8719 MB / 1.252 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/1.004, allocations: 8.031 kB / 1.252 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/1.005, allocations: 151.2 kB / 1.252 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008303/1.006, allocations: 0.4891 MB / 1.253 GB, free: 448 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.404e-05/1.006, allocations: 24.56 kB / 1.253 GB, free: 420 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.211e-05/1.006, allocations: 28 kB / 1.253 GB, free: 392 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006164/1.007, allocations: 323.6 kB / 1.253 GB, free: 60 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/1.007, allocations: 0 / 1.253 GB, free: 60 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/1.007, allocations: 8 kB / 1.253 GB, free: 52 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.273e-05/1.007, allocations: 12.56 kB / 1.253 GB, free: 40 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004706/1.007, allocations: 222.2 kB / 1.253 GB, free: 15.82 MB / 0.9825 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.002273/1.01, allocations: 1.518 MB / 1.255 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004279/1.01, allocations: 234.7 kB / 1.255 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/1.01, allocations: 104.8 kB / 1.255 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/1.01, allocations: 4 kB / 1.255 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000359/1.011, allocations: 169.3 kB / 1.255 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=26): time 1.713e-06/1.011, allocations: 4 kB / 1.255 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29): time 0.002994/1.014, allocations: 1.084 MB / 1.256 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/1.014, allocations: 59.34 kB / 1.256 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005937/1.014, allocations: 461.8 kB / 1.257 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/1.014, allocations: 33.7 kB / 1.257 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/1.015, allocations: 232.3 kB / 1.257 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/1.015, allocations: 110.5 kB / 1.257 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/1.015, allocations: 74.08 kB / 1.257 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001824/1.015, allocations: 358.7 kB / 1.258 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/1.015, allocations: 132.7 kB / 1.258 GB, free: 11 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002864/1.016, allocations: 178.7 kB / 1.258 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005002/1.016, allocations: 311.8 kB / 1.258 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/1.016, allocations: 7.938 kB / 1.258 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001045/1.017, allocations: 493.8 kB / 1.259 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/1.017, allocations: 8 kB / 1.259 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/1.017, allocations: 0 / 1.259 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003775/1.018, allocations: 84.95 kB / 1.259 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/1.018, allocations: 63.91 kB / 1.259 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/1.02, allocations: 1.904 MB / 1.261 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003548/1.021, allocations: 12.09 kB / 1.261 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.632e-05/1.021, allocations: 16 kB / 1.261 GB, free: 7.758 MB / 0.9825 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.0002931/1.021, allocations: 189.9 kB / 1.261 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.563e-05/1.021, allocations: 47.38 kB / 1.261 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/1.021, allocations: 64.66 kB / 1.261 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/1.021, allocations: 3.984 kB / 1.261 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/1.021, allocations: 4 kB / 1.261 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/1.021, allocations: 0 / 1.261 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/1.023, allocations: 0.9677 MB / 1.262 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.023, allocations: 0 / 1.262 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003681/1.023, allocations: 63.91 kB / 1.262 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003172/1.024, allocations: 80.8 kB / 1.262 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/1.024, allocations: 15.92 kB / 1.262 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/1.025, allocations: 1.637 MB / 1.264 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.025, allocations: 0 / 1.264 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/1.026, allocations: 0.5782 MB / 1.264 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002425/1.027, allocations: 148.5 kB / 1.264 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.239e-05/1.027, allocations: 15.94 kB / 1.264 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003357/1.027, allocations: 12.16 kB / 1.264 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.701e-05/1.027, allocations: 23.98 kB / 1.264 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-05/1.027, allocations: 19.97 kB / 1.264 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004028/1.028, allocations: 307.1 kB / 1.265 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/1.028, allocations: 0 / 1.265 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005595/1.028, allocations: 124 kB / 1.265 GB, free: 3.227 MB / 0.9825 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.001635/1.03, allocations: 440.6 kB / 1.265 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000918/1.031, allocations: 438.5 kB / 1.266 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/1.031, allocations: 320 / 1.266 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003595/1.031, allocations: 250.5 kB / 1.266 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/1.032, allocations: 236.2 kB / 1.266 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/1.034, allocations: 1.044 MB / 1.267 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005576/1.035, allocations: 0.8463 MB / 1.268 GB, free: 80 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/1.035, allocations: 39.42 kB / 1.268 GB, free: 40 kB / 0.9825 GB Notification: Performance of SimCode: time 4.569e-06/1.035, allocations: 0 / 1.268 GB, free: 40 kB / 0.9825 GB Notification: Performance of Templates: time 0.01457/1.05, allocations: 9.239 MB / 1.277 GB, free: 6.844 MB / 0.9981 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=400 -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