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.00124/0.00124, allocations: 115.2 kB / 16.37 MB, free: 6 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.001334/0.001334, allocations: 193.3 kB / 17.31 MB, free: 5.613 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.43/2.43, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 59.31 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2869, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001694/0.2887, allocations: 0.5897 MB / 1.027 GB, free: 1.457 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 3.913e-05/0.2887, allocations: 8 kB / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.645e-05/0.2887, allocations: 0 / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.474e-05/0.2888, allocations: 0 / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.569e-06/0.2888, allocations: 0 / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.314e-05/0.2888, allocations: 0 / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.018e-05/0.2889, allocations: 0 / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.172e-05/0.2889, allocations: 8 kB / 1.027 GB, free: 1.441 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.294e-05/0.2889, allocations: 0 / 1.027 GB, free: 1.441 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 1.545e-05/0.289, allocations: 4 kB / 1.027 GB, free: 1.438 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.289, allocations: 0 / 1.027 GB, free: 1.438 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.186e-06/0.289, allocations: 0 / 1.027 GB, free: 1.438 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.191e-05/0.289, allocations: 0 / 1.027 GB, free: 1.438 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.823e-05/0.289, allocations: 0 / 1.027 GB, free: 1.438 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 5.257e-05/0.2891, allocations: 11.91 kB / 1.027 GB, free: 1.426 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2891, allocations: 7.938 kB / 1.027 GB, free: 1.418 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.033e-06/0.2891, allocations: 0 / 1.027 GB, free: 1.418 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.2891, allocations: 4 kB / 1.027 GB, free: 1.414 MB / 0.795 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.0002473/0.2894, allocations: 303.6 kB / 1.028 GB, free: 1.066 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.2894, allocations: 16.06 kB / 1.028 GB, free: 1.051 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.167e-05/0.2894, allocations: 0.9375 kB / 1.028 GB, free: 1.051 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.855e-05/0.2895, allocations: 160.4 kB / 1.028 GB, free: 0.8555 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.2895, allocations: 8.297 kB / 1.028 GB, free: 0.8477 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.2895, allocations: 4.359 kB / 1.028 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.52e-05/0.2896, allocations: 30.27 kB / 1.028 GB, free: 0.8086 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.2896, allocations: 192 / 1.028 GB, free: 0.8086 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.2896, allocations: 3.938 kB / 1.028 GB, free: 0.8047 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2896, allocations: 0 / 1.028 GB, free: 0.8047 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.322e-05/0.2897, allocations: 0 / 1.028 GB, free: 0.8047 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000114/0.2898, allocations: 149.7 kB / 1.028 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 3.799e-05/0.2898, allocations: 24.94 kB / 1.028 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.949e-05/0.2899, allocations: 4.922 kB / 1.028 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.2899, allocations: 7.984 kB / 1.028 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.2899, allocations: 34.56 kB / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.2899, allocations: 0 / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001031/0.29, allocations: 37.64 kB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.2901, allocations: 51.41 kB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.469e-05/0.2901, allocations: 89.86 kB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.2901, allocations: 25.7 kB / 1.028 GB, free: 292 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.328e-05/0.2901, allocations: 80.14 kB / 1.028 GB, free: 208 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.2902, allocations: 4 kB / 1.028 GB, free: 204 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/0.2902, allocations: 9.719 kB / 1.028 GB, free: 188 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.2903, allocations: 318.9 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.808e-06/0.2903, allocations: 7.984 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.529e-06/0.2903, allocations: 4 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.339e-05/0.2904, allocations: 4.859 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2904, allocations: 7.938 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.38e-05/0.2904, allocations: 29.7 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.2904, allocations: 4 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.2904, allocations: 0 / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.2905, allocations: 3.938 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.269e-05/0.2905, allocations: 8.094 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2905, allocations: 0 / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.766e-06/0.2905, allocations: 3.938 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.2906, allocations: 0 / 1.029 GB, free: 15.78 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 6.632e-05/0.2906, allocations: 117.8 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.153e-06/0.2906, allocations: 4 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.994e-05/0.2907, allocations: 11 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.2907, allocations: 0 / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2907, allocations: 0 / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.2907, allocations: 4 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.878e-05/0.2908, allocations: 145.7 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2908, allocations: 0 / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.155e-05/0.2908, allocations: 7.984 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.2908, allocations: 0 / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.2908, allocations: 3.938 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.2908, allocations: 0 / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2908, allocations: 0 / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.595e-05/0.2909, allocations: 61.14 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.2909, allocations: 77.11 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.2909, allocations: 3.938 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.155e-06/0.2909, allocations: 3.984 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-06/0.291, allocations: 3.938 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.291, allocations: 0 / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.663e-05/0.291, allocations: 75.28 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.291, allocations: 4 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001749/0.2912, allocations: 0 / 1.029 GB, free: 15.17 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 8.234e-05/0.2913, allocations: 95.28 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.087e-05/0.2913, allocations: 8 kB / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2913, allocations: 0 / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.602e-06/0.2913, allocations: 4 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.2915, allocations: 0 / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001714/0.2917, allocations: 88.84 kB / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.2919, allocations: 0.6728 MB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.388e-05/0.2919, allocations: 4.125 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.797e-05/0.2919, allocations: 7.438 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.2919, allocations: 0 / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of Templates: time 0.001733/0.2936, allocations: 169.1 kB / 1.03 GB, free: 14.07 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 -s gbode -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