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.001787/0.001787, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001782/0.001782, allocations: 194.5 kB / 16.14 MB, free: 6.629 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.479/1.479, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.773/2.773, allocations: 437 MB / 0.71 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 67.89 kB / 0.8686 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7093/0.7113, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1888/0.9001, allocations: 160.7 MB / 1.174 GB, free: 1.535 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.006006/0.9061, allocations: 3.519 MB / 1.177 GB, free: 14 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004704/0.9066, allocations: 15.88 kB / 1.177 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008806/0.9075, allocations: 238.9 kB / 1.177 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001938/0.9095, allocations: 0.7976 MB / 1.178 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.9106, allocations: 435 kB / 1.178 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001653/0.9123, allocations: 1.368 MB / 1.18 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004305/0.9127, allocations: 288 kB / 1.18 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005915/0.9133, allocations: 346.4 kB / 1.18 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009488/0.9143, allocations: 358.6 kB / 1.181 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.276e-05/0.9144, allocations: 19.98 kB / 1.181 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.9159, allocations: 0.7949 MB / 1.181 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002142/0.9161, allocations: 151.5 kB / 1.182 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002984/0.9165, allocations: 250.6 kB / 1.182 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.9178, allocations: 0.9464 MB / 1.183 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.9178, allocations: 0 / 1.183 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9178, allocations: 0 / 1.183 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.9178, allocations: 4 kB / 1.183 GB, free: 8.023 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.001636/0.9195, allocations: 0.8697 MB / 1.184 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.9195, allocations: 8.031 kB / 1.184 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.9207, allocations: 159.2 kB / 1.184 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007855/0.9214, allocations: 496.9 kB / 1.184 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/0.9215, allocations: 20.56 kB / 1.184 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.705e-05/0.9216, allocations: 31.91 kB / 1.184 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006419/0.9222, allocations: 323.6 kB / 1.185 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.9222, allocations: 4 kB / 1.185 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.798e-05/0.9223, allocations: 8 kB / 1.185 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/0.9223, allocations: 16.5 kB / 1.185 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004333/0.9228, allocations: 218.1 kB / 1.185 GB, free: 5.793 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.002127/0.9249, allocations: 1.418 MB / 1.186 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004319/0.9253, allocations: 222.7 kB / 1.186 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.9255, allocations: 112.8 kB / 1.187 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.9256, allocations: 4 kB / 1.187 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003574/0.9259, allocations: 161 kB / 1.187 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 1.833e-06/0.926, allocations: 0 / 1.187 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29): time 0.003202/0.9292, allocations: 1.092 MB / 1.188 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.9292, allocations: 55.34 kB / 1.188 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006218/0.9299, allocations: 461.9 kB / 1.188 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.063e-05/0.9299, allocations: 33.7 kB / 1.188 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.9301, allocations: 240.2 kB / 1.189 GB, free: 1.77 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.9302, allocations: 94.66 kB / 1.189 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.9304, allocations: 77.97 kB / 1.189 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.9306, allocations: 366.7 kB / 1.189 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/0.9308, allocations: 124.7 kB / 1.189 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002898/0.9311, allocations: 182.6 kB / 1.189 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005119/0.9316, allocations: 307.9 kB / 1.19 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.9317, allocations: 0 / 1.19 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001048/0.9327, allocations: 493.8 kB / 1.19 GB, free: 104 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.9327, allocations: 7.938 kB / 1.19 GB, free: 96 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.9328, allocations: 4 kB / 1.19 GB, free: 92 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003942/0.9332, allocations: 80.8 kB / 1.19 GB, free: 8 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/0.9335, allocations: 72.03 kB / 1.19 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001982/0.9355, allocations: 1.733 MB / 1.192 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/0.9359, allocations: 23.83 kB / 1.192 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.845e-05/0.9359, allocations: 16 kB / 1.192 GB, free: 14.04 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.0002624/0.9362, allocations: 186.3 kB / 1.192 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.049e-05/0.9363, allocations: 47.59 kB / 1.192 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.9364, allocations: 56.56 kB / 1.192 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.9364, allocations: 7.938 kB / 1.192 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.9364, allocations: 0 / 1.192 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.9365, allocations: 7.984 kB / 1.192 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.9382, allocations: 0.9686 MB / 1.193 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.9382, allocations: 0 / 1.193 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003892/0.9386, allocations: 59.95 kB / 1.193 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003335/0.9389, allocations: 76.8 kB / 1.193 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/0.939, allocations: 7.984 kB / 1.193 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001545/0.9405, allocations: 1.546 MB / 1.195 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.9405, allocations: 4.062 kB / 1.195 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.9417, allocations: 0.5747 MB / 1.195 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001991/0.9419, allocations: 156.5 kB / 1.196 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.495e-05/0.942, allocations: 8 kB / 1.196 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003639/0.9423, allocations: 15.98 kB / 1.196 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.152e-05/0.9424, allocations: 27.91 kB / 1.196 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.9425, allocations: 8 kB / 1.196 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003925/0.9428, allocations: 307.1 kB / 1.196 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9429, allocations: 0 / 1.196 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005564/0.9434, allocations: 124 kB / 1.196 GB, free: 9.625 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.001595/0.945, allocations: 430.2 kB / 1.196 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008214/0.9459, allocations: 430.6 kB / 1.197 GB, free: 8.918 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.9459, allocations: 0 / 1.197 GB, free: 8.918 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003524/0.9462, allocations: 246.5 kB / 1.197 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.9474, allocations: 244.3 kB / 1.197 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.9493, allocations: 1.155 MB / 1.198 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005856/0.9499, allocations: 0.8428 MB / 1.199 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003645/0.9503, allocations: 96.3 kB / 1.199 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.9504, allocations: 35.44 kB / 1.199 GB, free: 6.262 MB / 0.9512 GB Notification: Performance of SimCode: time 3.81e-07/0.9504, allocations: 0 / 1.199 GB, free: 6.262 MB / 0.9512 GB Notification: Performance of Templates: time 0.0171/0.9675, allocations: 8.452 MB / 1.208 GB, free: 13.92 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