Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.036/2.036, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.0009776/0.0009779, allocations: 184.8 kB / 487.4 MB, free: 5.031 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.408/1.408, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 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.0009293/0.0009294, allocations: 99.88 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.488e-05/1.49e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2518, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8893/1.141, allocations: 147.8 MB / 1.35 GB, free: 18.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001965/1.141, allocations: 68.62 kB / 1.35 GB, free: 18.18 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0009269/1.142, allocations: 381.2 kB / 1.351 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.92e-07/1.142, allocations: 0 / 1.351 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.079e-06/1.142, allocations: 0 / 1.351 GB, free: 33.86 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000175/1.143, allocations: 300.9 kB / 1.351 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/1.143, allocations: 12.62 kB / 1.351 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.587e-05/1.143, allocations: 0 / 1.351 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.814e-05/1.143, allocations: 166.4 kB / 1.351 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/1.143, allocations: 4.781 kB / 1.351 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-06/1.143, allocations: 0 / 1.351 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.566e-05/1.143, allocations: 3.781 kB / 1.351 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.806e-05/1.143, allocations: 30.73 kB / 1.351 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/1.143, allocations: 0 / 1.351 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/1.143, allocations: 0 / 1.351 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/1.143, allocations: 0 / 1.351 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.649e-05/1.143, allocations: 135.7 kB / 1.351 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 2.75e-05/1.143, allocations: 18.45 kB / 1.351 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.724e-05/1.143, allocations: 4.859 kB / 1.351 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.387e-06/1.143, allocations: 7.906 kB / 1.351 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.325e-05/1.143, allocations: 39.61 kB / 1.351 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/1.143, allocations: 0 / 1.351 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 8.574e-05/1.143, allocations: 29.55 kB / 1.351 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.818e-05/1.143, allocations: 54.72 kB / 1.351 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.566e-05/1.143, allocations: 85 kB / 1.352 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.571e-06/1.143, allocations: 25.7 kB / 1.352 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.217e-05/1.143, allocations: 85.25 kB / 1.352 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/1.143, allocations: 0.625 kB / 1.352 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.834e-06/1.143, allocations: 0 / 1.352 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.32e-05/1.143, allocations: 314.6 kB / 1.352 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.72e-06/1.143, allocations: 0 / 1.352 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.288e-06/1.143, allocations: 1.266 kB / 1.352 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.354e-05/1.143, allocations: 0 / 1.352 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/1.143, allocations: 1.531 kB / 1.352 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.933e-05/1.143, allocations: 45.12 kB / 1.352 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/1.143, allocations: 7.844 kB / 1.352 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/1.143, allocations: 0 / 1.352 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/1.143, allocations: 0 / 1.352 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.104e-05/1.144, allocations: 5.188 kB / 1.352 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/1.144, allocations: 2.625 kB / 1.352 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.726e-06/1.144, allocations: 0 / 1.352 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/1.144, allocations: 0 / 1.352 GB, free: 32.39 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 (1): * Single equations (assignments): 1 * 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 prepare postOptimizeDAE: time 5.171e-05/1.144, allocations: 102.5 kB / 1.352 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-06/1.144, allocations: 9.172 kB / 1.352 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.621e-05/1.144, allocations: 11.56 kB / 1.352 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/1.144, allocations: 0 / 1.352 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.144, allocations: 0 / 1.352 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/1.144, allocations: 2.641 kB / 1.352 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.762e-05/1.144, allocations: 126.1 kB / 1.352 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.144, allocations: 3.984 kB / 1.352 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.826e-06/1.144, allocations: 3.875 kB / 1.352 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-06/1.144, allocations: 0 / 1.352 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-06/1.144, allocations: 0 / 1.352 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/1.144, allocations: 3.953 kB / 1.352 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.144, allocations: 0 / 1.352 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.413e-05/1.144, allocations: 66.83 kB / 1.352 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.374e-05/1.144, allocations: 77.11 kB / 1.352 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-06/1.144, allocations: 1.359 kB / 1.352 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.242e-06/1.144, allocations: 3.938 kB / 1.352 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/1.144, allocations: 3.953 kB / 1.352 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/1.144, allocations: 5.438 kB / 1.352 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.463e-05/1.144, allocations: 79.31 kB / 1.352 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.11e-07/1.144, allocations: 0 / 1.352 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001922/1.144, allocations: 3.844 kB / 1.352 GB, free: 31.84 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 (1): * Single equations (assignments): 1 * 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 6.837e-05/1.144, allocations: 92.38 kB / 1.353 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.729e-05/1.144, allocations: 3.688 kB / 1.353 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.144, allocations: 0 / 1.353 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.781e-06/1.144, allocations: 10.88 kB / 1.353 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001019/1.144, allocations: 0 / 1.353 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001217/1.144, allocations: 45.81 kB / 1.353 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/1.145, allocations: 0.6706 MB / 1.353 GB, free: 31 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.343e-05/1.145, allocations: 5.344 kB / 1.353 GB, free: 31 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.257e-05/1.145, allocations: 7.438 kB / 1.353 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.145, allocations: 0 / 1.353 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of Templates: time 0.001396/1.146, allocations: 144.3 kB / 1.353 GB, free: 30.96 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_9_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Examples_ModelTime.csv","../files/Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches