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.001674/0.001674, 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.001966/0.001966, allocations: 192 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.706/2.706, allocations: 472.6 MB / 0.7451 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 68.2 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3182, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.177/0.4952, allocations: 162.9 MB / 1.227 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005156/0.5004, allocations: 3.478 MB / 1.231 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004213/0.5009, allocations: 19.88 kB / 1.231 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007541/0.5017, allocations: 282.4 kB / 1.231 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001811/0.5035, allocations: 0.8516 MB / 1.232 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.5046, allocations: 481.7 kB / 1.232 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001181/0.5058, allocations: 1.091 MB / 1.233 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004134/0.5062, allocations: 332.6 kB / 1.234 GB, free: 284 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005465/0.5067, allocations: 398.4 kB / 1.234 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007455/0.5075, allocations: 349.9 kB / 1.234 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.249e-05/0.5076, allocations: 40 kB / 1.234 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.5089, allocations: 0.6977 MB / 1.235 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002058/0.5091, allocations: 163.5 kB / 1.235 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002611/0.5093, allocations: 278.6 kB / 1.236 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.5105, allocations: 0.9153 MB / 1.236 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.5105, allocations: 8 kB / 1.236 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.495e-06/0.5105, allocations: 0 / 1.236 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.5105, allocations: 3.938 kB / 1.236 GB, free: 13.45 MB / 0.9981 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.001307/0.5118, allocations: 0.8602 MB / 1.237 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.5119, allocations: 16.03 kB / 1.237 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.5129, allocations: 151.2 kB / 1.237 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006565/0.5136, allocations: 488.9 kB / 1.238 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.5136, allocations: 20.56 kB / 1.238 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.738e-05/0.5137, allocations: 39.97 kB / 1.238 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005133/0.5142, allocations: 319.7 kB / 1.238 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.5142, allocations: 0 / 1.238 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.236e-05/0.5143, allocations: 12 kB / 1.238 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/0.5143, allocations: 8.562 kB / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003872/0.5147, allocations: 226.1 kB / 1.238 GB, free: 11.23 MB / 0.9981 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.001786/0.5165, allocations: 1.422 MB / 1.24 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/0.5169, allocations: 218.8 kB / 1.24 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.5171, allocations: 116.7 kB / 1.24 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.5171, allocations: 4.438 kB / 1.24 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000272/0.5174, allocations: 164.5 kB / 1.24 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 1.713e-06/0.5174, allocations: 11.94 kB / 1.24 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29): time 0.002732/0.5201, allocations: 1.081 MB / 1.241 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.5202, allocations: 59.34 kB / 1.241 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004692/0.5207, allocations: 465.8 kB / 1.242 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.5207, allocations: 33.7 kB / 1.242 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.5209, allocations: 240.2 kB / 1.242 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.83e-05/0.521, allocations: 106.5 kB / 1.242 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.5211, allocations: 74.06 kB / 1.242 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.5212, allocations: 354.7 kB / 1.243 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.5215, allocations: 128.7 kB / 1.243 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.5217, allocations: 182.8 kB / 1.243 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004464/0.5222, allocations: 307.9 kB / 1.243 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5222, allocations: 0 / 1.243 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009331/0.5231, allocations: 485.8 kB / 1.244 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.5232, allocations: 8 kB / 1.244 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.5232, allocations: 0 / 1.244 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003714/0.5235, allocations: 92.94 kB / 1.244 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.5238, allocations: 63.92 kB / 1.244 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.5256, allocations: 1.9 MB / 1.246 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.5259, allocations: 16.08 kB / 1.246 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.526, allocations: 16 kB / 1.246 GB, free: 3.305 MB / 0.9981 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.0002098/0.5262, allocations: 187 kB / 1.246 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.451e-05/0.5263, allocations: 51.36 kB / 1.246 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.979e-05/0.5264, allocations: 56.62 kB / 1.246 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.5264, allocations: 0 / 1.246 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.5264, allocations: 4 kB / 1.246 GB, free: 3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.5264, allocations: 0 / 1.246 GB, free: 3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.5279, allocations: 0.9794 MB / 1.247 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.5279, allocations: 0 / 1.247 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/0.5283, allocations: 64.03 kB / 1.247 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003043/0.5286, allocations: 84.78 kB / 1.247 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/0.5286, allocations: 15.94 kB / 1.247 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/0.53, allocations: 1.641 MB / 1.249 GB, free: 16 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5301, allocations: 0 / 1.249 GB, free: 16 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5814/1.111, allocations: 0.5659 MB / 1.249 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002521/1.112, allocations: 150.8 kB / 1.249 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.232e-05/1.112, allocations: 11.67 kB / 1.249 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003644/1.112, allocations: 12.7 kB / 1.25 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.14e-05/1.112, allocations: 20.61 kB / 1.25 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/1.112, allocations: 9.641 kB / 1.25 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000468/1.113, allocations: 310.8 kB / 1.25 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.61e-07/1.113, allocations: 0.7812 kB / 1.25 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006272/1.113, allocations: 123.5 kB / 1.25 GB, free: 185.2 MB / 0.9981 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.00107/1.115, allocations: 443.1 kB / 1.25 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009335/1.116, allocations: 439.5 kB / 1.251 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/1.116, allocations: 3.828 kB / 1.251 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003477/1.116, allocations: 251.9 kB / 1.251 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/1.117, allocations: 255.6 kB / 1.251 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/1.119, allocations: 0.9971 MB / 1.252 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/1.119, allocations: 0.845 MB / 1.253 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003706/1.12, allocations: 86.38 kB / 1.253 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/1.12, allocations: 40.55 kB / 1.253 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of SimCode: time 3.9e-07/1.12, allocations: 1.156 kB / 1.253 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.01808/1.138, allocations: 8.819 MB / 1.262 GB, free: 183.1 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches