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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.983/1.983, allocations: 387.4 MB / 394.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 180.6 kB / 487.4 MB, free: 5.039 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009091/0.0009091, allocations: 103.6 kB / 0.9219 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.497e-05/1.499e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.217, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7396/0.9566, allocations: 154 MB / 1.356 GB, free: 18.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/0.9569, allocations: 97.75 kB / 1.356 GB, free: 18.18 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01981/0.9768, allocations: 7.787 MB / 1.364 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.022e-06/0.9768, allocations: 0 / 1.364 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.9768, allocations: 3.844 kB / 1.364 GB, free: 33.36 MB / 0.8386 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.0005191/0.9773, allocations: 0.5035 MB / 1.365 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.9774, allocations: 15.47 kB / 1.365 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.12e-05/0.9774, allocations: 19.44 kB / 1.365 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004661/0.9779, allocations: 324.8 kB / 1.365 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.283e-05/0.978, allocations: 68.69 kB / 1.365 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.978, allocations: 0 / 1.365 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001533/0.9782, allocations: 92.55 kB / 1.365 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.9783, allocations: 82.22 kB / 1.365 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.9783, allocations: 0 / 1.365 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.9784, allocations: 0 / 1.365 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.9784, allocations: 3.812 kB / 1.365 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.9786, allocations: 222.7 kB / 1.365 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.9797, allocations: 331.8 kB / 1.366 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.514e-05/0.9798, allocations: 46.19 kB / 1.366 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.962e-05/0.9799, allocations: 101.1 kB / 1.366 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.45e-05/0.9799, allocations: 38.25 kB / 1.366 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.9799, allocations: 0 / 1.366 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0002706/0.9802, allocations: 149.4 kB / 1.366 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.576e-05/0.9802, allocations: 51.41 kB / 1.366 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.9804, allocations: 258.6 kB / 1.366 GB, free: 32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.9804, allocations: 25.7 kB / 1.366 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/0.9805, allocations: 123.4 kB / 1.366 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.9805, allocations: 19.44 kB / 1.366 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/0.9805, allocations: 4 kB / 1.366 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.785e-05/0.9806, allocations: 334.3 kB / 1.367 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.9807, allocations: 127.5 kB / 1.367 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.88e-05/0.9808, allocations: 132.1 kB / 1.367 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004627/0.9813, allocations: 241 kB / 1.367 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.9813, allocations: 0 / 1.367 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006105/0.9819, allocations: 444.9 kB / 1.368 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.9819, allocations: 6.031 kB / 1.368 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.982, allocations: 2.156 kB / 1.368 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.982, allocations: 7.906 kB / 1.368 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.718e-05/0.9821, allocations: 17.83 kB / 1.368 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.9821, allocations: 3.781 kB / 1.368 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.9822, allocations: 37.77 kB / 1.368 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.9822, allocations: 7.688 kB / 1.368 GB, free: 31.44 MB / 0.8386 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 () * 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 6.879e-05/0.9823, allocations: 107.5 kB / 1.368 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/0.9823, allocations: 23.3 kB / 1.368 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002973/0.9826, allocations: 187.7 kB / 1.368 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.9826, allocations: 0 / 1.368 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.9827, allocations: 0 / 1.368 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.9827, allocations: 0 / 1.368 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.9828, allocations: 200.8 kB / 1.368 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.9828, allocations: 3.875 kB / 1.368 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.878e-05/0.9829, allocations: 16.78 kB / 1.368 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.9829, allocations: 3.875 kB / 1.368 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.639e-06/0.9829, allocations: 3.953 kB / 1.368 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.9829, allocations: 4 kB / 1.368 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.9829, allocations: 0 / 1.368 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.9831, allocations: 180 kB / 1.368 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.061e-05/0.9832, allocations: 117 kB / 1.369 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.022e-05/0.9832, allocations: 0 / 1.369 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.294e-05/0.9833, allocations: 11.28 kB / 1.369 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.9834, allocations: 14.91 kB / 1.369 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.9834, allocations: 7.719 kB / 1.369 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001103/0.9835, allocations: 177.5 kB / 1.369 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9835, allocations: 3.938 kB / 1.369 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003347/0.9838, allocations: 126.7 kB / 1.369 GB, free: 30.8 MB / 0.8386 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 () * 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.0003098/0.9842, allocations: 232.4 kB / 1.369 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002558/0.9844, allocations: 344.8 kB / 1.369 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.9844, allocations: 4 kB / 1.369 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.757e-05/0.9845, allocations: 52.41 kB / 1.369 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.9847, allocations: 37.47 kB / 1.369 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002973/0.985, allocations: 236 kB / 1.37 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.9853, allocations: 0.7485 MB / 1.37 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.103e-05/0.9854, allocations: 15.7 kB / 1.37 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.869e-05/0.9854, allocations: 15.16 kB / 1.37 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/0.9854, allocations: 0 / 1.37 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of Templates: time 0.004902/0.9903, allocations: 3.05 MB / 1.373 GB, free: 29.53 MB / 0.8386 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