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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.006426/0.006426, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001312/0.001312, allocations: 196 kB / 16.79 MB, free: 5.809 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.389/1.389, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.572/2.572, allocations: 437 MB / 0.7106 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 63.91 kB / 0.8692 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5643/0.5656, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1596/0.7252, allocations: 160.7 MB / 1.174 GB, free: 1.52 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005624/0.7309, allocations: 3.523 MB / 1.178 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007147/0.7317, allocations: 19.88 kB / 1.178 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000944/0.7326, allocations: 242.9 kB / 1.178 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002215/0.7349, allocations: 0.801 MB / 1.179 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.7361, allocations: 424.5 kB / 1.179 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001752/0.7379, allocations: 1.372 MB / 1.18 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005392/0.7385, allocations: 282.1 kB / 1.181 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007565/0.7392, allocations: 350.4 kB / 1.181 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.7403, allocations: 349.9 kB / 1.181 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.7404, allocations: 20 kB / 1.181 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.7421, allocations: 0.7988 MB / 1.182 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002273/0.7423, allocations: 151.5 kB / 1.182 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003819/0.7427, allocations: 246.6 kB / 1.182 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009954/0.7437, allocations: 0.7094 MB / 1.183 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.7437, allocations: 0 / 1.183 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.052e-06/0.7437, allocations: 0 / 1.183 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.707e-05/0.7437, allocations: 0 / 1.183 GB, free: 8.254 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.0016/0.7453, allocations: 0.8697 MB / 1.184 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.7454, allocations: 8.031 kB / 1.184 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.7465, allocations: 147.2 kB / 1.184 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008318/0.7474, allocations: 492.9 kB / 1.185 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.7474, allocations: 28.56 kB / 1.185 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.992e-05/0.7475, allocations: 39.83 kB / 1.185 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000573/0.7481, allocations: 311.7 kB / 1.185 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.7481, allocations: 3.938 kB / 1.185 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/0.7481, allocations: 16 kB / 1.185 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.454e-05/0.7482, allocations: 16.55 kB / 1.185 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004218/0.7486, allocations: 214.1 kB / 1.185 GB, free: 6.035 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.00203/0.7506, allocations: 1.426 MB / 1.187 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004575/0.7511, allocations: 214.8 kB / 1.187 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.7513, allocations: 112.8 kB / 1.187 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.7513, allocations: 4 kB / 1.187 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002895/0.7516, allocations: 160.7 kB / 1.187 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 2.094e-06/0.7516, allocations: 4 kB / 1.187 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29): time 0.002913/0.7546, allocations: 1.096 MB / 1.188 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.7546, allocations: 55.34 kB / 1.188 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005353/0.7551, allocations: 457.9 kB / 1.189 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.7552, allocations: 33.7 kB / 1.189 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.7554, allocations: 240.2 kB / 1.189 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.121e-05/0.7555, allocations: 98.64 kB / 1.189 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.7556, allocations: 81.97 kB / 1.189 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.7558, allocations: 354.8 kB / 1.189 GB, free: 1.469 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.756, allocations: 120.7 kB / 1.19 GB, free: 1.352 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.7563, allocations: 186.7 kB / 1.19 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000459/0.7568, allocations: 307.8 kB / 1.19 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7568, allocations: 0 / 1.19 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009833/0.7578, allocations: 489.8 kB / 1.19 GB, free: 356 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.7578, allocations: 4 kB / 1.191 GB, free: 352 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.7578, allocations: 4 kB / 1.191 GB, free: 348 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003563/0.7582, allocations: 92.94 kB / 1.191 GB, free: 252 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.7584, allocations: 63.86 kB / 1.191 GB, free: 188 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/0.7602, allocations: 1.725 MB / 1.192 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004098/0.7607, allocations: 31.86 kB / 1.192 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-05/0.7607, allocations: 12.06 kB / 1.192 GB, free: 14.29 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.0002563/0.761, allocations: 200.4 kB / 1.193 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.476e-05/0.7611, allocations: 43.53 kB / 1.193 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.7612, allocations: 52.56 kB / 1.193 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.7612, allocations: 4 kB / 1.193 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.7612, allocations: 0 / 1.193 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.7612, allocations: 7.984 kB / 1.193 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.7629, allocations: 0.9764 MB / 1.194 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.7629, allocations: 0 / 1.194 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003651/0.7633, allocations: 59.91 kB / 1.194 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003123/0.7636, allocations: 84.91 kB / 1.194 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.7636, allocations: 8 kB / 1.194 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/0.765, allocations: 1.538 MB / 1.195 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7651, allocations: 7.969 kB / 1.195 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.7662, allocations: 0.5787 MB / 1.196 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002219/0.7665, allocations: 156.5 kB / 1.196 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.445e-05/0.7665, allocations: 8 kB / 1.196 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003601/0.7669, allocations: 11.98 kB / 1.196 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.263e-05/0.767, allocations: 23.97 kB / 1.196 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.767, allocations: 12 kB / 1.196 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003537/0.7674, allocations: 303.1 kB / 1.196 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7674, allocations: 4 kB / 1.196 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005384/0.7679, allocations: 124 kB / 1.196 GB, free: 9.863 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.001036/0.769, allocations: 449.3 kB / 1.197 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007515/0.7697, allocations: 414.5 kB / 1.197 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.7697, allocations: 0 / 1.197 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003134/0.7701, allocations: 254.4 kB / 1.198 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.7712, allocations: 232.6 kB / 1.198 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.7731, allocations: 1.18 MB / 1.199 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/0.7735, allocations: 0.8545 MB / 1.2 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.7737, allocations: 35.44 kB / 1.2 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of SimCode: time 2.91e-07/0.7737, allocations: 0 / 1.2 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of Templates: time 0.01353/0.7872, allocations: 9.23 MB / 1.209 GB, free: 13.38 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=480 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches