Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_10_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_10_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.007784/0.007784, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001723/0.001723, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.152 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.591/2.591, allocations: 437 MB / 0.7105 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 63.91 kB / 1.019 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3529, allocations: 151.6 MB / 1.167 GB, free: 6.926 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002671/0.3556, allocations: 1.66 MB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002074/0.3577, allocations: 1.36 MB / 1.17 GB, free: 3.879 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.443e-05/0.3578, allocations: 7.938 kB / 1.17 GB, free: 3.871 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003903/0.3583, allocations: 83.58 kB / 1.17 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.3584, allocations: 79.47 kB / 1.17 GB, free: 3.711 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007346/0.3592, allocations: 286.7 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000227/0.3594, allocations: 187.2 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.838e-05/0.3594, allocations: 9.484 kB / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.3596, allocations: 91.62 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.3597, allocations: 79.67 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.3597, allocations: 4 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005686/0.3603, allocations: 343.5 kB / 1.171 GB, free: 2.727 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.158e-05/0.3604, allocations: 67.67 kB / 1.171 GB, free: 2.66 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.598e-05/0.3605, allocations: 99.45 kB / 1.171 GB, free: 2.562 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005239/0.361, allocations: 394.6 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3611, allocations: 3.938 kB / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.384e-06/0.3611, allocations: 0 / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.3611, allocations: 0 / 1.171 GB, free: 2.172 MB / 0.92 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.0008999/0.362, allocations: 0.5602 MB / 1.172 GB, free: 1.562 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.362, allocations: 8.031 kB / 1.172 GB, free: 1.555 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.074e-05/0.3621, allocations: 24.8 kB / 1.172 GB, free: 1.531 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004569/0.3626, allocations: 283.8 kB / 1.172 GB, free: 1.219 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.3627, allocations: 67.95 kB / 1.172 GB, free: 1.141 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.3627, allocations: 384 / 1.172 GB, free: 1.141 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.3629, allocations: 97.78 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.3629, allocations: 0 / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.363, allocations: 0 / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.363, allocations: 0 / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002392/0.3632, allocations: 107.9 kB / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002725/0.3635, allocations: 257.4 kB / 1.173 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.3648, allocations: 302.4 kB / 1.173 GB, free: 336 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.365, allocations: 56.83 kB / 1.173 GB, free: 276 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/0.3651, allocations: 97.09 kB / 1.173 GB, free: 160 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.3651, allocations: 34.5 kB / 1.173 GB, free: 116 kB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.3651, allocations: 0 / 1.173 GB, free: 116 kB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0004925/0.3656, allocations: 209.6 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.3657, allocations: 51.41 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.366, allocations: 307.2 kB / 1.174 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.366, allocations: 25.7 kB / 1.174 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.786e-05/0.3661, allocations: 128.6 kB / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.3661, allocations: 19.8 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.366e-05/0.3662, allocations: 65.62 kB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3664, allocations: 330.8 kB / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.3666, allocations: 155.9 kB / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.3668, allocations: 163.5 kB / 1.174 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.3672, allocations: 293.4 kB / 1.175 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3672, allocations: 0 / 1.175 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005042/0.3677, allocations: 409 kB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.3677, allocations: 4 kB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.3677, allocations: 4 kB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.3678, allocations: 0 / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.238e-05/0.3678, allocations: 12 kB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3679, allocations: 7.922 kB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.368, allocations: 35.67 kB / 1.175 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.368, allocations: 0 / 1.175 GB, free: 13.87 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.3681, allocations: 133.8 kB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.3681, allocations: 27.78 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003652/0.3685, allocations: 167.4 kB / 1.175 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3685, allocations: 0 / 1.175 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3685, allocations: 0 / 1.175 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3685, allocations: 0 / 1.175 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.3687, allocations: 241.5 kB / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3688, allocations: 4.25 kB / 1.176 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.524e-05/0.3688, allocations: 12 kB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3689, allocations: 4 kB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.3689, allocations: 11.98 kB / 1.176 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3689, allocations: 0 / 1.176 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3689, allocations: 0 / 1.176 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.3692, allocations: 180.9 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.164e-05/0.3693, allocations: 108.9 kB / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.3693, allocations: 7.984 kB / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.773e-05/0.3694, allocations: 0 / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.3695, allocations: 4 kB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.3695, allocations: 7.984 kB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002179/0.3697, allocations: 197.9 kB / 1.176 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3697, allocations: 0 / 1.176 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003932/0.3701, allocations: 119.7 kB / 1.176 GB, free: 12.57 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004815/0.3706, allocations: 258.8 kB / 1.177 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005136/0.3711, allocations: 363.2 kB / 1.177 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3711, allocations: 0 / 1.177 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.3713, allocations: 59.97 kB / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.3716, allocations: 40.62 kB / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006348/0.3722, allocations: 403.7 kB / 1.177 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.3726, allocations: 0.7357 MB / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.947e-05/0.3727, allocations: 21.03 kB / 1.178 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.3727, allocations: 19.44 kB / 1.178 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.3727, allocations: 0 / 1.178 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of Templates: time 0.006828/0.3795, allocations: 3.138 MB / 1.181 GB, free: 7.512 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & ./Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches