Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.29/2.29, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001179/0.001178, allocations: 188.7 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.748/1.748, allocations: 221.3 MB / 0.7915 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008537/0.0008536, allocations: 107.9 kB / 0.9318 GB, free: 5.672 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.037e-05/3.039e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2516, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8556/1.107, allocations: 155.5 MB / 1.371 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006456/1.108, allocations: 90.62 kB / 1.371 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02397/1.132, allocations: 7.897 MB / 1.378 GB, free: 7.605 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.302e-06/1.132, allocations: 0 / 1.378 GB, free: 7.605 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.776e-05/1.132, allocations: 0 / 1.378 GB, free: 7.605 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.0007787/1.133, allocations: 0.504 MB / 1.379 GB, free: 7.07 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/1.133, allocations: 11.97 kB / 1.379 GB, free: 7.059 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.4e-05/1.133, allocations: 19.72 kB / 1.379 GB, free: 7.039 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000638/1.134, allocations: 326.5 kB / 1.379 GB, free: 6.699 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/1.134, allocations: 63.39 kB / 1.379 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.032e-05/1.134, allocations: 11.69 kB / 1.379 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/1.134, allocations: 84.25 kB / 1.379 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/1.134, allocations: 0 / 1.379 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/1.134, allocations: 0 / 1.379 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/1.134, allocations: 7.984 kB / 1.379 GB, free: 6.527 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/1.134, allocations: 93.66 kB / 1.379 GB, free: 6.445 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002894/1.135, allocations: 252 kB / 1.38 GB, free: 6.176 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/1.136, allocations: 327 kB / 1.38 GB, free: 5.863 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.44e-05/1.136, allocations: 55.5 kB / 1.38 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001469/1.136, allocations: 100.8 kB / 1.38 GB, free: 5.699 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/1.136, allocations: 38.56 kB / 1.38 GB, free: 5.652 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/1.136, allocations: 0 / 1.38 GB, free: 5.652 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0003189/1.137, allocations: 149.8 kB / 1.38 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/1.137, allocations: 55.39 kB / 1.38 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/1.137, allocations: 256.3 kB / 1.381 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/1.137, allocations: 33.64 kB / 1.381 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.875e-05/1.137, allocations: 127.6 kB / 1.381 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/1.137, allocations: 14 kB / 1.381 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.009e-05/1.137, allocations: 3.188 kB / 1.381 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.137, allocations: 342.2 kB / 1.381 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/1.137, allocations: 125.9 kB / 1.381 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/1.137, allocations: 129 kB / 1.381 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/1.138, allocations: 142.9 kB / 1.381 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.138, allocations: 0 / 1.381 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004289/1.138, allocations: 343.8 kB / 1.382 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/1.138, allocations: 4 kB / 1.382 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/1.138, allocations: 4 kB / 1.382 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/1.138, allocations: 0 / 1.382 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/1.138, allocations: 23.98 kB / 1.382 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/1.138, allocations: 64 / 1.382 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/1.138, allocations: 38.78 kB / 1.382 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/1.138, allocations: 11.98 kB / 1.382 GB, free: 4.125 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 7.66e-05/1.139, allocations: 108.1 kB / 1.382 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/1.139, allocations: 19.72 kB / 1.382 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003801/1.139, allocations: 191.9 kB / 1.382 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/1.139, allocations: 4 kB / 1.382 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/1.139, allocations: 0 / 1.382 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/1.139, allocations: 0 / 1.382 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/1.139, allocations: 230.7 kB / 1.382 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/1.139, allocations: 0 / 1.382 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/1.139, allocations: 19.98 kB / 1.382 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/1.139, allocations: 0 / 1.382 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/1.139, allocations: 4 kB / 1.382 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/1.139, allocations: 0 / 1.382 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.139, allocations: 7.938 kB / 1.382 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/1.14, allocations: 177.9 kB / 1.383 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/1.14, allocations: 116 kB / 1.383 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/1.14, allocations: 0 / 1.383 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.027e-05/1.14, allocations: 7.625 kB / 1.383 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/1.14, allocations: 7.984 kB / 1.383 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/1.14, allocations: 12 kB / 1.383 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001849/1.14, allocations: 194.6 kB / 1.383 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.01e-07/1.14, allocations: 0 / 1.383 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005403/1.141, allocations: 135.1 kB / 1.383 GB, free: 2.922 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.0005995/1.141, allocations: 227.5 kB / 1.383 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000386/1.142, allocations: 345.6 kB / 1.384 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/1.142, allocations: 0 / 1.384 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.494e-05/1.142, allocations: 55.22 kB / 1.384 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/1.142, allocations: 40.53 kB / 1.384 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004654/1.143, allocations: 244.5 kB / 1.384 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/1.143, allocations: 0.7438 MB / 1.385 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001052/1.143, allocations: 17.77 kB / 1.385 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.846e-05/1.143, allocations: 19.36 kB / 1.385 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of SimCode: time 1.913e-06/1.143, allocations: 0 / 1.385 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of Templates: time 0.007889/1.151, allocations: 3.772 MB / 1.388 GB, free: 13.58 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & ./Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","../files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches