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.008651/0.008651, allocations: 103.3 kB / 15.73 MB, free: 6.047 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.00179/0.001791, allocations: 189.4 kB / 16.67 MB, free: 5.969 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.798/2.798, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001354, allocations: 63.91 kB / 1.054 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8764/0.8778, 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.001835/0.8797, allocations: 0.5855 MB / 1.208 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 5.074e-05/0.8797, allocations: 7.922 kB / 1.208 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.985e-05/0.8798, allocations: 0 / 1.208 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.826e-05/0.8798, allocations: 0 / 1.208 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.624e-06/0.8799, allocations: 0 / 1.208 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.581e-05/0.8799, allocations: 4 kB / 1.208 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.512e-05/0.88, allocations: 3.938 kB / 1.208 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.905e-05/0.8801, allocations: 0 / 1.208 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.778e-05/0.8801, allocations: 0 / 1.208 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.362e-05/0.8801, allocations: 7.984 kB / 1.208 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.8801, allocations: 4 kB / 1.208 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.188e-06/0.8802, allocations: 0 / 1.208 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.8802, allocations: 0 / 1.208 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.8802, allocations: 4 kB / 1.208 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 6.784e-05/0.8803, allocations: 0 / 1.208 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.8803, allocations: 0 / 1.208 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8803, allocations: 0 / 1.208 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.804e-06/0.8803, 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.0003082/0.8806, allocations: 311.5 kB / 1.209 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.8807, allocations: 12.03 kB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.942e-05/0.8807, allocations: 0.9375 kB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.998e-05/0.8808, allocations: 164.4 kB / 1.209 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.8808, allocations: 4.375 kB / 1.209 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.8808, allocations: 384 / 1.209 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.8809, allocations: 34.2 kB / 1.209 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.881, allocations: 192 / 1.209 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.881, allocations: 7.922 kB / 1.209 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.881, allocations: 0 / 1.209 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.99e-05/0.881, allocations: 7.938 kB / 1.209 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/0.8812, allocations: 145.7 kB / 1.209 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.811e-05/0.8812, allocations: 22.59 kB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.633e-05/0.8812, allocations: 12.8 kB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.8813, allocations: 0 / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.8813, allocations: 34.62 kB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.8813, allocations: 0 / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001335/0.8814, allocations: 37.64 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.8815, allocations: 51.41 kB / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.001e-05/0.8815, allocations: 89.86 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.8815, allocations: 25.7 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.614e-05/0.8816, allocations: 80.14 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.8816, allocations: 0 / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.8817, allocations: 21.7 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.8818, allocations: 311 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.748e-06/0.8818, allocations: 4 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-06/0.8818, allocations: 3.938 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.476e-05/0.8818, allocations: 8.859 kB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8818, allocations: 0 / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.281e-05/0.8819, allocations: 33.7 kB / 1.21 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.8819, allocations: 8 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.8819, allocations: 0 / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.882, allocations: 3.938 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.912e-05/0.882, allocations: 4.094 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.882, allocations: 3.984 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.118e-05/0.882, allocations: 4 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.8821, 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 7.067e-05/0.8821, allocations: 109.8 kB / 1.21 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-06/0.8821, allocations: 3.906 kB / 1.21 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.951e-05/0.8822, allocations: 7.062 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.8822, allocations: 0 / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.8822, allocations: 4 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.8822, allocations: 7.938 kB / 1.21 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.489e-05/0.8823, allocations: 149.7 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.8823, allocations: 4 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.389e-05/0.8823, allocations: 0 / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.8823, allocations: 7.938 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.8823, allocations: 3.938 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.8823, allocations: 0 / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8823, allocations: 0 / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.383e-05/0.8824, allocations: 57.14 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.849e-05/0.8824, allocations: 81.09 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.8825, allocations: 7.938 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-06/0.8825, allocations: 0 / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.404e-05/0.8825, allocations: 0 / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.8825, allocations: 0 / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 2.744e-05/0.8825, allocations: 79.22 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8825, allocations: 0 / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001946/0.8827, allocations: 4 kB / 1.21 GB, free: 10.77 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.666e-05/0.8828, allocations: 99.28 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.625e-05/0.8829, allocations: 8 kB / 1.21 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8829, allocations: 0 / 1.21 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.428e-06/0.8829, allocations: 0 / 1.21 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.8831, allocations: 6.188 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.0002142/0.8833, 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.0002474/0.8836, allocations: 0.6729 MB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.189e-05/0.8836, allocations: 4.125 kB / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.54e-05/0.8836, allocations: 7.438 kB / 1.211 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of SimCode: time 1.182e-06/0.8836, allocations: 0 / 1.211 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of Templates: time 0.00183/0.8854, allocations: 169.1 kB / 1.211 GB, free: 9.668 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