Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_latest_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.007966/0.007967, allocations: 104.1 kB / 15.73 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 190 kB / 16.67 MB, free: 5.516 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.564/2.564, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 64.11 kB / 1.054 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.004, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001726/1.005, allocations: 0.5874 MB / 1.208 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 4.35e-05/1.005, allocations: 7.938 kB / 1.208 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.11e-05/1.005, allocations: 0 / 1.208 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.842e-05/1.005, allocations: 0 / 1.208 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.623e-06/1.005, allocations: 0 / 1.208 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.057e-05/1.006, allocations: 4 kB / 1.208 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.261e-05/1.006, allocations: 4 kB / 1.208 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.626e-05/1.006, allocations: 0 / 1.208 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.838e-05/1.006, allocations: 0 / 1.208 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.179e-05/1.006, allocations: 7.922 kB / 1.208 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/1.006, allocations: 0 / 1.208 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.677e-06/1.006, allocations: 0 / 1.208 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/1.006, allocations: 0 / 1.208 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.344e-05/1.006, allocations: 0 / 1.208 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 5.675e-05/1.006, allocations: 7.984 kB / 1.208 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.006, allocations: 0 / 1.208 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.894e-06/1.006, allocations: 4 kB / 1.208 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.051e-06/1.006, allocations: 0 / 1.208 GB, free: 13.02 MB / 0.9356 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.0003068/1.006, allocations: 311.6 kB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/1.006, allocations: 8.031 kB / 1.209 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.931e-05/1.006, allocations: 4.938 kB / 1.209 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.347e-05/1.006, allocations: 164.4 kB / 1.209 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/1.006, allocations: 384 / 1.209 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/1.006, allocations: 4.312 kB / 1.209 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.293e-05/1.006, allocations: 30.27 kB / 1.209 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/1.006, allocations: 4.188 kB / 1.209 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/1.007, allocations: 7.922 kB / 1.209 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/1.007, allocations: 0 / 1.209 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.734e-05/1.007, allocations: 0 / 1.209 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/1.007, allocations: 149.7 kB / 1.209 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.611e-05/1.007, allocations: 14.58 kB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.979e-05/1.007, allocations: 16.88 kB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/1.007, allocations: 4 kB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/1.007, allocations: 30.56 kB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/1.007, allocations: 3.938 kB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001223/1.007, allocations: 37.64 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/1.007, allocations: 55.41 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.666e-05/1.007, allocations: 93.8 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/1.007, allocations: 25.7 kB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.475e-05/1.007, allocations: 80.27 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/1.007, allocations: 4 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/1.007, allocations: 9.719 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001056/1.007, allocations: 322.8 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.057e-05/1.007, allocations: 3.938 kB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.318e-06/1.007, allocations: 0 / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.307e-05/1.007, allocations: 8.859 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.007, allocations: 0 / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.366e-05/1.007, allocations: 33.77 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/1.007, allocations: 4 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/1.007, allocations: 0 / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/1.007, allocations: 7.938 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.836e-05/1.007, allocations: 0 / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/1.007, allocations: 0 / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.178e-06/1.007, allocations: 0 / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/1.007, allocations: 0 / 1.21 GB, free: 11.38 MB / 0.9356 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 6.574e-05/1.008, allocations: 121.8 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.112e-06/1.008, allocations: 7.938 kB / 1.21 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.636e-05/1.008, allocations: 7.062 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-07/1.008, allocations: 0 / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/1.008, allocations: 0 / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/1.008, allocations: 0 / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.664e-05/1.008, allocations: 145.7 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/1.008, allocations: 0 / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.029e-05/1.008, allocations: 3.984 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/1.008, allocations: 0 / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/1.008, allocations: 3.938 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/1.008, allocations: 0 / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/1.008, allocations: 4 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.486e-05/1.008, allocations: 61.14 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.092e-05/1.008, allocations: 77.11 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/1.008, allocations: 11.86 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.612e-06/1.008, allocations: 0 / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/1.008, allocations: 7.938 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-06/1.008, allocations: 0 / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 2.824e-05/1.008, allocations: 79.31 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/1.008, allocations: 0 / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001955/1.008, allocations: 0 / 1.21 GB, free: 10.76 MB / 0.9356 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 9.983e-05/1.008, allocations: 95.25 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.302e-05/1.008, allocations: 8 kB / 1.21 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.008, allocations: 3.938 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.849e-06/1.008, allocations: 4 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/1.008, allocations: 4.125 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001942/1.009, allocations: 80.72 kB / 1.21 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/1.009, allocations: 0.669 MB / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.312e-05/1.009, allocations: 0 / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.989e-05/1.009, allocations: 15.38 kB / 1.211 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/1.009, allocations: 0 / 1.211 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of Templates: time 0.001838/1.011, allocations: 169.2 kB / 1.211 GB, free: 9.66 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches