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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.00107/0.001071, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.00129/0.00129, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 223.2 MB / 240 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.034/3.034, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003757/0.0003758, allocations: 7.844 kB / 0.9021 GB, free: 36.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.3985, allocations: 159.6 MB / 1.058 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1926/0.5911, allocations: 147.9 MB / 1.202 GB, free: 0.9922 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005312/0.5965, allocations: 3.239 MB / 1.206 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004119/0.5969, allocations: 19.88 kB / 1.206 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007429/0.5977, allocations: 214.9 kB / 1.206 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.5993, allocations: 0.6259 MB / 1.206 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009451/0.6003, allocations: 337.3 kB / 1.207 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001389/0.6017, allocations: 1.188 MB / 1.208 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003611/0.602, allocations: 250.4 kB / 1.208 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005216/0.6026, allocations: 338.4 kB / 1.209 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004924/0.6031, allocations: 318.7 kB / 1.209 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.68e-05/0.6031, allocations: 19.94 kB / 1.209 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008565/0.604, allocations: 363.2 kB / 1.209 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001701/0.6042, allocations: 139.5 kB / 1.209 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.6043, allocations: 121.5 kB / 1.209 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000723/0.6051, allocations: 0.6429 MB / 1.21 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.6051, allocations: 0 / 1.21 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6051, allocations: 0 / 1.21 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.6051, allocations: 0 / 1.21 GB, free: 9.195 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.001295/0.6064, allocations: 0.7747 MB / 1.211 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.6065, allocations: 8.031 kB / 1.211 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009925/0.6075, allocations: 159.1 kB / 1.211 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006731/0.6081, allocations: 473.4 kB / 1.211 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.6082, allocations: 20.56 kB / 1.211 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.47e-05/0.6082, allocations: 32 kB / 1.211 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005465/0.6088, allocations: 311.7 kB / 1.212 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.6088, allocations: 11.94 kB / 1.212 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/0.6089, allocations: 12 kB / 1.212 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/0.6089, allocations: 12.56 kB / 1.212 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004258/0.6093, allocations: 222.1 kB / 1.212 GB, free: 7.082 MB / 0.9669 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.001844/0.6112, allocations: 1.414 MB / 1.213 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003773/0.6116, allocations: 226.1 kB / 1.214 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.6118, allocations: 108.8 kB / 1.214 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.6118, allocations: 8 kB / 1.214 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000296/0.6121, allocations: 169.2 kB / 1.214 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=26): time 1.562e-06/0.6121, allocations: 4 kB / 1.214 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29): time 0.00267/0.6148, allocations: 1.078 MB / 1.215 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.6149, allocations: 59.36 kB / 1.215 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005202/0.6154, allocations: 457.8 kB / 1.215 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.6154, allocations: 33.7 kB / 1.215 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.6156, allocations: 236.3 kB / 1.216 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.6157, allocations: 102.5 kB / 1.216 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.155e-05/0.6158, allocations: 12 kB / 1.216 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.6159, allocations: 354.8 kB / 1.216 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.6162, allocations: 120.7 kB / 1.216 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.6164, allocations: 186.8 kB / 1.216 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.6167, allocations: 149.5 kB / 1.217 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.6167, allocations: 0 / 1.217 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009326/0.6176, allocations: 490.4 kB / 1.217 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.6176, allocations: 8 kB / 1.217 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.6177, allocations: 0 / 1.217 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003998/0.6181, allocations: 84.95 kB / 1.217 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.6183, allocations: 63.92 kB / 1.217 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/0.6203, allocations: 1.764 MB / 1.219 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/0.6206, allocations: 32.03 kB / 1.219 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/0.6206, allocations: 16 kB / 1.219 GB, free: 15.55 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 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002555/0.6209, allocations: 189 kB / 1.219 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.621, allocations: 47.56 kB / 1.219 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.6211, allocations: 52.62 kB / 1.219 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.6211, allocations: 8 kB / 1.219 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.6212, allocations: 0 / 1.219 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.6212, allocations: 3.984 kB / 1.219 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.6227, allocations: 0.973 MB / 1.22 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.6227, allocations: 0 / 1.22 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003316/0.6231, allocations: 63.91 kB / 1.22 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002806/0.6233, allocations: 76.78 kB / 1.22 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.6234, allocations: 8 kB / 1.22 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001425/0.6248, allocations: 1.554 MB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6248, allocations: 0 / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009816/0.6258, allocations: 0.5705 MB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/0.626, allocations: 148.5 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.856e-05/0.6261, allocations: 12 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003062/0.6264, allocations: 19.92 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.625e-05/0.6265, allocations: 19.97 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.6265, allocations: 12 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003321/0.6268, allocations: 307.1 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6268, allocations: 0 / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005131/0.6273, allocations: 127.9 kB / 1.223 GB, free: 11.14 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001137/0.6285, allocations: 439.6 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009096/0.6294, allocations: 446.9 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6294, allocations: 0 / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003152/0.6298, allocations: 250.6 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.6308, allocations: 219.2 kB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.6326, allocations: 1.264 MB / 1.226 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.6331, allocations: 0.8506 MB / 1.226 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003411/0.6334, allocations: 84.33 kB / 1.226 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.631e-05/0.6335, allocations: 35.44 kB / 1.227 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.6335, allocations: 4 kB / 1.227 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of Templates: time 0.01428/0.6478, allocations: 8.191 MB / 1.235 GB, free: 15.57 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