Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.393/1.393, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.592/2.592, allocations: 437 MB / 0.7103 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 63.89 kB / 0.8692 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.682/0.6835, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001923/0.6855, allocations: 0.5877 MB / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 3.257e-05/0.6855, allocations: 0 / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.391e-05/0.6856, allocations: 0 / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.783e-05/0.6856, allocations: 0 / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.424e-06/0.6856, allocations: 3.938 kB / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 2.911e-05/0.6856, allocations: 4 kB / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.312e-05/0.6857, allocations: 7.922 kB / 1.018 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.199e-05/0.6857, allocations: 7.984 kB / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.012e-05/0.6857, allocations: 0 / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.054e-05/0.6858, allocations: 0 / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.042e-06/0.6858, allocations: 0 / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.993e-06/0.6858, allocations: 4 kB / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.382e-06/0.6858, allocations: 0 / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.205e-05/0.6858, allocations: 0 / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 3.597e-05/0.6858, allocations: 4 kB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.6858, allocations: 0 / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6859, allocations: 0 / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.6859, allocations: 0 / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002161/0.6861, allocations: 307.6 kB / 1.018 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.6861, allocations: 16.05 kB / 1.018 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.572e-05/0.6861, allocations: 0.9375 kB / 1.018 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.072e-05/0.6862, allocations: 164.4 kB / 1.018 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.019e-06/0.6862, allocations: 384 / 1.018 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-06/0.6862, allocations: 384 / 1.018 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.539e-05/0.6863, allocations: 30.27 kB / 1.018 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.338e-06/0.6863, allocations: 192 / 1.018 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.062e-06/0.6863, allocations: 3.938 kB / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.6863, allocations: 0 / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.849e-06/0.6863, allocations: 7.875 kB / 1.018 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001122/0.6865, allocations: 153.7 kB / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 2.285e-05/0.6865, allocations: 18.58 kB / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.564e-05/0.6865, allocations: 8.953 kB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 6.743e-06/0.6865, allocations: 0 / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.6866, allocations: 30.56 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.6866, allocations: 3.938 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001051/0.6867, allocations: 41.58 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.6867, allocations: 55.53 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.717e-05/0.6868, allocations: 93.86 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.6868, allocations: 25.7 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.552e-05/0.6868, allocations: 80.14 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.6868, allocations: 7.891 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.6869, allocations: 9.719 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.687, allocations: 310.8 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.025e-05/0.687, allocations: 8 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.549e-06/0.687, allocations: 4 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.429e-05/0.687, allocations: 8.859 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.687, allocations: 3.938 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.772e-05/0.6871, allocations: 29.7 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.6871, allocations: 4 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.6871, allocations: 0 / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.6872, allocations: 11.92 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.283e-05/0.6872, allocations: 0 / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.6872, allocations: 3.984 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.037e-06/0.6872, allocations: 4.094 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.6872, allocations: 4 kB / 1.019 GB, free: 240 kB / 0.7637 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 (1): * Single equations (assignments): 1 * 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 prepare postOptimizeDAE: time 7.463e-05/0.6873, allocations: 113.8 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-06/0.6873, allocations: 0 / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.712e-05/0.6873, allocations: 7.062 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.6874, allocations: 0 / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.6874, allocations: 0 / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.6874, allocations: 0 / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.6875, allocations: 145.7 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.6875, allocations: 8 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.282e-05/0.6875, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.6875, allocations: 3.938 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.6875, allocations: 7.922 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.6875, allocations: 3.938 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.6875, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.653e-05/0.6876, allocations: 61.12 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.418e-05/0.6877, allocations: 77.11 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.6877, allocations: 7.969 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-06/0.6877, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.6877, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.6877, allocations: 4 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.995e-05/0.6878, allocations: 75.28 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6878, allocations: 0 / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001834/0.688, allocations: 3.938 kB / 1.02 GB, free: 15.63 MB / 0.7794 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 (1): * Single equations (assignments): 1 * 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.0001074/0.6881, allocations: 97.22 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.079e-05/0.6881, allocations: 11.94 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6882, allocations: 4 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.033e-06/0.6882, allocations: 3.984 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.6883, allocations: 5.969 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001968/0.6885, allocations: 84.97 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.6888, allocations: 0.669 MB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.848e-06/0.6888, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.666e-05/0.6888, allocations: 11.56 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.6888, allocations: 4 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of Templates: time 0.001927/0.6908, allocations: 157.2 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_10_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches