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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001857/0.003032, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001748/0.002968, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.023/1.023, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08264/1.106, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.382/2.382, allocations: 447.1 MB / 0.675 GB, free: 5.867 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2448/2.627, allocations: 146 MB / 0.8176 GB, free: 3.781 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.8189 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.13e-05/3.316e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.496 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.002671/0.002704, allocations: 0.6549 MB / 0.8195 GB, free: 1.836 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 2.462e-05/0.002729, allocations: 4 kB / 0.8195 GB, free: 1.832 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.969e-05/0.002749, allocations: 0 / 0.8195 GB, free: 1.832 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.526e-05/0.002774, allocations: 8 kB / 0.8195 GB, free: 1.824 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.042e-06/0.002775, allocations: 0 / 0.8195 GB, free: 1.824 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 2.061e-05/0.002796, allocations: 7.922 kB / 0.8196 GB, free: 1.816 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.382e-05/0.002859, allocations: 4 kB / 0.8196 GB, free: 1.812 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.987e-05/0.002909, allocations: 0 / 0.8196 GB, free: 1.812 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.33e-05/0.002963, allocations: 4 kB / 0.8196 GB, free: 1.809 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.766e-05/0.003, allocations: 0 / 0.8196 GB, free: 1.809 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.003021, allocations: 3.938 kB / 0.8196 GB, free: 1.805 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.031e-06/0.003027, allocations: 0 / 0.8196 GB, free: 1.805 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.003047, allocations: 0 / 0.8196 GB, free: 1.805 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.809e-05/0.003065, allocations: 0 / 0.8196 GB, free: 1.805 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 7.86e-05/0.003143, allocations: 4 kB / 0.8196 GB, free: 1.801 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-05/0.003162, allocations: 4 kB / 0.8196 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.573e-06/0.003164, allocations: 0 / 0.8196 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.857e-05/0.003182, allocations: 0 / 0.8196 GB, free: 1.797 MB / 0.7917 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.0003281/0.00351, allocations: 212.7 kB / 0.8198 GB, free: 1.562 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.003557, allocations: 8.031 kB / 0.8198 GB, free: 1.555 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.0036, allocations: 0.9375 kB / 0.8198 GB, free: 1.555 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.391e-05/0.003694, allocations: 105.8 kB / 0.8199 GB, free: 1.426 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.003708, allocations: 384 / 0.8199 GB, free: 1.426 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.003721, allocations: 384 / 0.8199 GB, free: 1.426 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.003827, allocations: 38.25 kB / 0.8199 GB, free: 1.383 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.003838, allocations: 192 / 0.8199 GB, free: 1.383 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.003846, allocations: 384 / 0.8199 GB, free: 1.383 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.003854, allocations: 4.312 kB / 0.8199 GB, free: 1.379 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.401e-05/0.003868, allocations: 3.938 kB / 0.8199 GB, free: 1.375 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.036e-05/0.003959, allocations: 61.05 kB / 0.82 GB, free: 1.301 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.74e-05/0.004006, allocations: 14.58 kB / 0.82 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.336e-05/0.004029, allocations: 8.953 kB / 0.82 GB, free: 1.266 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-06/0.004035, allocations: 3.938 kB / 0.82 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.004063, allocations: 30.56 kB / 0.82 GB, free: 1.223 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.004064, allocations: 4 kB / 0.82 GB, free: 1.219 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 0.0001283/0.004192, allocations: 33.64 kB / 0.8201 GB, free: 1.18 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.004229, allocations: 55.39 kB / 0.8201 GB, free: 1.113 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.739e-05/0.004267, allocations: 97.84 kB / 0.8202 GB, free: 1.008 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.004278, allocations: 25.7 kB / 0.8202 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.698e-05/0.004305, allocations: 80.14 kB / 0.8203 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.004344, allocations: 0 / 0.8203 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.004376, allocations: 13.72 kB / 0.8203 GB, free: 0.875 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.995e-05/0.004476, allocations: 314.8 kB / 0.8206 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.466e-06/0.004484, allocations: 0 / 0.8206 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.533e-06/0.004491, allocations: 4.125 kB / 0.8206 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.314e-05/0.004524, allocations: 16.8 kB / 0.8207 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.004526, allocations: 0 / 0.8207 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.037e-05/0.004586, allocations: 37.67 kB / 0.8207 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.004603, allocations: 5.406 kB / 0.8207 GB, free: 500 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.004608, allocations: 0 / 0.8207 GB, free: 500 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.004622, allocations: 4 kB / 0.8207 GB, free: 496 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.022e-05/0.004693, allocations: 0 / 0.8207 GB, free: 496 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.004697, allocations: 4 kB / 0.8207 GB, free: 492 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.069e-05/0.004708, allocations: 96 / 0.8207 GB, free: 492 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.004714, allocations: 4 kB / 0.8207 GB, free: 488 kB / 0.7917 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.741e-05/0.004781, allocations: 113.8 kB / 0.8208 GB, free: 364 kB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.25e-06/0.004786, allocations: 0 / 0.8208 GB, free: 364 kB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.645e-05/0.004803, allocations: 3 kB / 0.8208 GB, free: 364 kB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.004806, allocations: 0 / 0.8208 GB, free: 364 kB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.004809, allocations: 3.984 kB / 0.8208 GB, free: 360 kB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.004811, allocations: 0 / 0.8208 GB, free: 360 kB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.334e-05/0.004875, allocations: 65.84 kB / 0.8209 GB, free: 276 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.004876, allocations: 0 / 0.8209 GB, free: 276 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.084e-05/0.004887, allocations: 3.938 kB / 0.8209 GB, free: 272 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-06/0.004893, allocations: 8 kB / 0.8209 GB, free: 264 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.004894, allocations: 0 / 0.8209 GB, free: 264 kB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-06/0.004898, allocations: 0 / 0.8209 GB, free: 264 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.004898, allocations: 0 / 0.8209 GB, free: 264 kB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.004899, allocations: 3.938 kB / 0.8209 GB, free: 260 kB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.918e-05/0.004969, allocations: 61.06 kB / 0.821 GB, free: 180 kB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.994e-06/0.004976, allocations: 0 / 0.821 GB, free: 180 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.612e-06/0.004982, allocations: 4 kB / 0.821 GB, free: 176 kB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.004997, allocations: 0 / 0.821 GB, free: 176 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.004999, allocations: 0 / 0.821 GB, free: 176 kB / 0.7917 GB Notification: Performance of sorting global known variables: time 1.137e-05/0.00501, allocations: 12.88 kB / 0.821 GB, free: 160 kB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.00501, allocations: 0 / 0.821 GB, free: 160 kB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0001298/0.00514, allocations: 4 kB / 0.821 GB, free: 156 kB / 0.7917 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.973e-05/0.00523, allocations: 72.42 kB / 0.8211 GB, free: 72 kB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 6.214e-05/0.005292, allocations: 16.78 kB / 0.8211 GB, free: 52 kB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.005297, allocations: 0 / 0.8211 GB, free: 52 kB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 9.848e-06/0.005307, allocations: 8.859 kB / 0.8211 GB, free: 40 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.354e-05/0.005371, allocations: 7.938 kB / 0.8211 GB, free: 32 kB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002041/0.005575, allocations: 90.45 kB / 0.8212 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.411e-05/0.005609, allocations: 55.36 kB / 0.8212 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.438e-05/0.005623, allocations: 0 / 0.8212 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.779e-05/0.005661, allocations: 47.38 kB / 0.8213 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of SimCode: time 5.91e-07/0.005662, allocations: 0 / 0.8213 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of Templates: time 0.001916/0.007578, allocations: 218 kB / 0.8215 GB, free: 15.58 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.makefile [Timeout 300] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.165980203077197]