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.587/2.587, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001393/0.001393, allocations: 181.1 kB / 498.1 MB, free: 5.77 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.54/1.54, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.001288/0.001288, allocations: 94.92 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004176/0.0004178, allocations: 6.844 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4126/0.4131, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2025/0.6156, allocations: 148.5 MB / 1.368 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/0.616, allocations: 67.97 kB / 1.368 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005702/0.6166, allocations: 380.7 kB / 1.368 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.077e-06/0.6166, allocations: 4.062 kB / 1.368 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.343e-06/0.6166, allocations: 0 / 1.368 GB, free: 13.16 MB / 0.8698 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.0002958/0.6169, allocations: 307.4 kB / 1.369 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/0.617, allocations: 8.094 kB / 1.369 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.617, allocations: 0 / 1.369 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.6172, allocations: 175 kB / 1.369 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.6172, allocations: 0 / 1.369 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.6172, allocations: 0 / 1.369 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.6173, allocations: 29.64 kB / 1.369 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.6174, allocations: 0 / 1.369 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.6174, allocations: 0 / 1.369 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.6174, allocations: 7.984 kB / 1.369 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.261e-05/0.6174, allocations: 4 kB / 1.369 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001875/0.6176, allocations: 145.6 kB / 1.369 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.232e-05/0.6177, allocations: 25.34 kB / 1.369 GB, free: 12.33 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.6177, allocations: 0 / 1.369 GB, free: 12.33 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.6177, allocations: 38.48 kB / 1.369 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.6177, allocations: 0 / 1.369 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001947/0.6179, allocations: 33.77 kB / 1.369 GB, free: 12.24 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.618, allocations: 51.41 kB / 1.369 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.027e-05/0.6181, allocations: 85 kB / 1.369 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.6181, allocations: 25.7 kB / 1.369 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.898e-05/0.6181, allocations: 80.14 kB / 1.369 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.189e-05/0.6182, allocations: 7.906 kB / 1.369 GB, free: 11.97 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.6182, allocations: 4 kB / 1.369 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.6183, allocations: 310.8 kB / 1.37 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.183e-06/0.6183, allocations: 4.125 kB / 1.37 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-06/0.6183, allocations: 0 / 1.37 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.406e-05/0.6184, allocations: 7.938 kB / 1.37 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.6184, allocations: 3.953 kB / 1.37 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.661e-05/0.6184, allocations: 33.69 kB / 1.37 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.6185, allocations: 4 kB / 1.37 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.6185, allocations: 0 / 1.37 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.6185, allocations: 4 kB / 1.37 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.242e-05/0.6186, allocations: 0 / 1.37 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.6186, allocations: 8.031 kB / 1.37 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.092e-05/0.6186, allocations: 0 / 1.37 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.6186, allocations: 0 / 1.37 GB, free: 11.58 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.014e-05/0.6187, allocations: 113.8 kB / 1.37 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.188e-06/0.6187, allocations: 7.891 kB / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.476e-05/0.6188, allocations: 7.109 kB / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.6188, allocations: 0 / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.6188, allocations: 0 / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.6188, allocations: 0 / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.6189, allocations: 146.2 kB / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.6189, allocations: 4 kB / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.505e-05/0.6189, allocations: 3.953 kB / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.6189, allocations: 0 / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.6189, allocations: 0 / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.619, allocations: 3.938 kB / 1.37 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.619, allocations: 0 / 1.37 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.135e-05/0.619, allocations: 61.12 kB / 1.37 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/0.6191, allocations: 81.14 kB / 1.37 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.6191, allocations: 3.953 kB / 1.37 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.267e-06/0.6191, allocations: 4 kB / 1.37 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.306e-05/0.6191, allocations: 0 / 1.37 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-06/0.6192, allocations: 4 kB / 1.37 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.619e-05/0.6192, allocations: 75.28 kB / 1.37 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6192, allocations: 0 / 1.37 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001892/0.6194, allocations: 0 / 1.37 GB, free: 10.98 MB / 0.8698 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 (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.0001278/0.6195, allocations: 103 kB / 1.37 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.695e-05/0.6196, allocations: 7.938 kB / 1.37 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6196, allocations: 0 / 1.37 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.148e-05/0.6196, allocations: 8 kB / 1.37 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.441e-05/0.6197, allocations: 0 / 1.37 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002307/0.62, allocations: 78.92 kB / 1.37 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.6202, allocations: 0.677 MB / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.015e-05/0.6202, allocations: 4 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.623e-05/0.6203, allocations: 11.56 kB / 1.371 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of SimCode: time 3.91e-07/0.6203, allocations: 0 / 1.371 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of Templates: time 0.001854/0.6221, allocations: 148.5 kB / 1.371 GB, free: 9.887 MB / 0.8698 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