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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00769/0.00769, allocations: 100.7 kB / 15.87 MB, free: 5.867 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.001907/0.001907, allocations: 193.2 kB / 16.79 MB, free: 5.809 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.425/1.425, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.773/2.773, allocations: 461.9 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 70.17 kB / 0.899 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2985, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.00191/0.3005, allocations: 0.6376 MB / 1.053 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 4.076e-05/0.3005, allocations: 4 kB / 1.053 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.446e-05/0.3005, allocations: 3.938 kB / 1.053 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.979e-05/0.3006, allocations: 4 kB / 1.053 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.979e-06/0.3006, allocations: 0 / 1.053 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.128e-05/0.3006, allocations: 0 / 1.053 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.96e-05/0.3007, allocations: 0 / 1.053 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.439e-05/0.3007, allocations: 4 kB / 1.053 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.351e-05/0.3008, allocations: 0 / 1.053 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.639e-05/0.3008, allocations: 0 / 1.053 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.336e-06/0.3008, allocations: 0 / 1.053 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.606e-06/0.3008, allocations: 0 / 1.053 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.047e-05/0.3008, allocations: 0 / 1.053 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.724e-05/0.3008, allocations: 0 / 1.053 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 3.881e-05/0.3009, allocations: 8 kB / 1.053 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3009, allocations: 7.984 kB / 1.053 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.72e-07/0.3009, allocations: 0 / 1.053 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.3009, allocations: 0 / 1.053 GB, free: 7.629 MB / 0.8106 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.0002636/0.3012, allocations: 307.5 kB / 1.054 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3012, allocations: 19.97 kB / 1.054 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.754e-05/0.3012, allocations: 0.9375 kB / 1.054 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.204e-05/0.3013, allocations: 160.4 kB / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.3014, allocations: 384 / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.3014, allocations: 4.375 kB / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.328e-05/0.3015, allocations: 38.25 kB / 1.054 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3015, allocations: 4.125 kB / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.3015, allocations: 11.86 kB / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-06/0.3015, allocations: 0 / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.405e-05/0.3015, allocations: 0 / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.3016, allocations: 149.7 kB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.652e-05/0.3017, allocations: 18.58 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.076e-05/0.3017, allocations: 12.92 kB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.3017, allocations: 0 / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.3017, allocations: 38.55 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.3018, allocations: 0 / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001047/0.3019, allocations: 37.58 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.3019, allocations: 51.41 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.507e-05/0.3019, allocations: 89.86 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.302, allocations: 29.83 kB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.114e-05/0.302, allocations: 84.14 kB / 1.054 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.302, allocations: 0 / 1.054 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.3021, allocations: 13.72 kB / 1.054 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.3022, allocations: 310.8 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.736e-06/0.3022, allocations: 4 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.181e-06/0.3022, allocations: 3.984 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.385e-05/0.3023, allocations: 16.86 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3023, allocations: 0 / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.937e-05/0.3023, allocations: 29.7 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.3023, allocations: 4 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.3024, allocations: 0 / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3024, allocations: 3.938 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.331e-05/0.3024, allocations: 4 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.3024, allocations: 3.984 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.08e-05/0.3025, allocations: 4 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.3025, allocations: 0 / 1.055 GB, free: 5.977 MB / 0.8106 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 5.909e-05/0.3025, allocations: 113.8 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-06/0.3025, allocations: 7.984 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.422e-05/0.3026, allocations: 7.062 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3026, allocations: 0 / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.3026, allocations: 0 / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-06/0.3026, allocations: 0 / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.101e-05/0.3027, allocations: 141.7 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3027, allocations: 0 / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.356e-05/0.3027, allocations: 4 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3027, allocations: 7.922 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.3027, allocations: 7.938 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3027, allocations: 0 / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3027, allocations: 0 / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.668e-05/0.3028, allocations: 61.08 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.3028, allocations: 77.11 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-06/0.3028, allocations: 3.938 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.065e-06/0.3028, allocations: 4 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.05e-05/0.3029, allocations: 8.016 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-06/0.3029, allocations: 0 / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.241e-05/0.3029, allocations: 79.28 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3029, allocations: 0 / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001879/0.3031, allocations: 0 / 1.055 GB, free: 5.371 MB / 0.8106 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.267e-05/0.3032, allocations: 91.53 kB / 1.055 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.093e-05/0.3033, allocations: 11.94 kB / 1.055 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3033, allocations: 64 / 1.055 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.161e-06/0.3033, allocations: 8 kB / 1.055 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.3034, allocations: 0 / 1.055 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001821/0.3036, allocations: 112.2 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.3038, allocations: 0.6731 MB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.595e-05/0.3038, allocations: 7.438 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.3038, allocations: 0 / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of Templates: time 0.001347/0.3052, allocations: 319.9 kB / 1.056 GB, free: 4.086 MB / 0.8106 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches