Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") translateModel(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001595/0.001595, allocations: 177.3 kB / 15.94 MB, free: 228 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.385/1.385, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.393/2.393, allocations: 390.3 MB / 0.6653 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.0003339, allocations: 15.98 kB / 0.8145 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8462/0.8465, allocations: 142.3 MB / 0.9535 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.001707/0.8483, allocations: 1.306 MB / 0.9548 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002271/0.8506, allocations: 1.256 MB / 0.956 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.8507, allocations: 7.5 kB / 0.956 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000419/0.8512, allocations: 71.59 kB / 0.9561 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.8513, allocations: 63.83 kB / 0.9561 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006776/0.852, allocations: 197.2 kB / 0.9563 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.8522, allocations: 114.2 kB / 0.9564 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.608e-05/0.8523, allocations: 7.656 kB / 0.9564 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.8524, allocations: 75.61 kB / 0.9565 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.8526, allocations: 64.44 kB / 0.9566 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.8526, allocations: 9.281 kB / 0.9566 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005526/0.8532, allocations: 265.2 kB / 0.9568 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.377e-05/0.8533, allocations: 61.47 kB / 0.9569 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/0.8533, allocations: 56.2 kB / 0.957 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.8537, allocations: 266.7 kB / 0.9572 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.8537, allocations: 0 / 0.9572 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8537, allocations: 0 / 0.9572 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.8537, allocations: 1.219 kB / 0.9572 GB, free: 5.352 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007473/0.8545, allocations: 0.5354 MB / 0.9577 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.8545, allocations: 8.906 kB / 0.9577 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.696e-05/0.8546, allocations: 25.14 kB / 0.9578 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.855, allocations: 278.3 kB / 0.958 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.973e-05/0.8551, allocations: 62.28 kB / 0.9581 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.8551, allocations: 2.75 kB / 0.9581 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.8553, allocations: 93.55 kB / 0.9582 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.8553, allocations: 4 kB / 0.9582 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.8553, allocations: 0 / 0.9582 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.8553, allocations: 2.156 kB / 0.9582 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002447/0.8556, allocations: 105.8 kB / 0.9583 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002501/0.8558, allocations: 254.9 kB / 0.9585 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.8573, allocations: 343 kB / 0.9589 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/0.8574, allocations: 97 kB / 0.959 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.8575, allocations: 35.97 kB / 0.959 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.8575, allocations: 0 / 0.959 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0005616/0.858, allocations: 215 kB / 0.9592 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.8581, allocations: 52.78 kB / 0.9592 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.8584, allocations: 306.1 kB / 0.9595 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.8584, allocations: 27.08 kB / 0.9596 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.975e-05/0.8584, allocations: 124.8 kB / 0.9597 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.8585, allocations: 21.02 kB / 0.9597 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-06/0.8585, allocations: 5.375 kB / 0.9597 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.825e-05/0.8585, allocations: 332.3 kB / 0.96 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.8588, allocations: 163 kB / 0.9602 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.859, allocations: 166.5 kB / 0.9603 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/0.8592, allocations: 166.2 kB / 0.9605 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8592, allocations: 0 / 0.9605 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006139/0.8599, allocations: 393.2 kB / 0.9609 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.8599, allocations: 9.984 kB / 0.9609 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.8599, allocations: 1.156 kB / 0.9609 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.8599, allocations: 1.344 kB / 0.9609 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.86, allocations: 12.56 kB / 0.9609 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.8601, allocations: 3.938 kB / 0.9609 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.8602, allocations: 41.52 kB / 0.9609 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.8602, allocations: 2.406 kB / 0.9609 GB, free: 2.629 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.8603, allocations: 145.9 kB / 0.9611 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.8604, allocations: 20.12 kB / 0.9611 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004154/0.8608, allocations: 167.6 kB / 0.9613 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.8608, allocations: 4.844 kB / 0.9613 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.8608, allocations: 0 / 0.9613 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.8608, allocations: 0.8125 kB / 0.9613 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.861, allocations: 237.8 kB / 0.9615 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8611, allocations: 0 / 0.9615 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.488e-05/0.8612, allocations: 13.25 kB / 0.9615 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.8612, allocations: 3.938 kB / 0.9615 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.8612, allocations: 1.188 kB / 0.9615 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.8612, allocations: 5.047 kB / 0.9615 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.8612, allocations: 7.938 kB / 0.9615 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.8615, allocations: 186.8 kB / 0.9617 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.858e-05/0.8616, allocations: 101 kB / 0.9618 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.8616, allocations: 64 / 0.9618 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.991e-05/0.8617, allocations: 21.05 kB / 0.9618 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.8618, allocations: 3.031 kB / 0.9618 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-06/0.8618, allocations: 5.516 kB / 0.9618 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001795/0.862, allocations: 194.7 kB / 0.962 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.862, allocations: 1.312 kB / 0.962 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000527/0.8625, allocations: 115.2 kB / 0.9621 GB, free: 1.734 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003604/0.8629, allocations: 177.5 kB / 0.9623 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005231/0.8634, allocations: 364 kB / 0.9626 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.8634, allocations: 0 / 0.9626 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.8636, allocations: 59.09 kB / 0.9627 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.8639, allocations: 46.62 kB / 0.9627 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006434/0.8645, allocations: 442 kB / 0.9632 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.8647, allocations: 0.7426 MB / 0.9639 GB, free: 368 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.068e-05/0.8648, allocations: 18.05 kB / 0.9639 GB, free: 360 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.8649, allocations: 14.97 kB / 0.9639 GB, free: 352 kB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.8649, allocations: 0 / 0.9639 GB, free: 352 kB / 0.7169 GB Notification: Performance of Templates: time 0.006818/0.8717, allocations: 2.879 MB / 0.9667 GB, free: 14.9 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & ./Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","../files/Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches