Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001586/0.001586, allocations: 109.1 kB / 19.71 MB, free: 2.145 MB / 14.72 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.001953/0.001953, allocations: 213.3 kB / 23 MB, free: 4.965 MB / 14.72 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.533/1.533, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.424/3.424, allocations: 0.49 GB / 0.7959 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Examples.ModelTime") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002755/0.002755, allocations: 62.72 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4614/0.4642, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.002251/0.4664, allocations: 0.599 MB / 1.328 GB, free: 432 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 4.458e-05/0.4665, allocations: 4 kB / 1.328 GB, free: 428 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.049e-05/0.4665, allocations: 0 / 1.328 GB, free: 428 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.393e-05/0.4665, allocations: 0 / 1.328 GB, free: 428 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.526e-06/0.4665, allocations: 0 / 1.328 GB, free: 428 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.075e-05/0.4666, allocations: 8 kB / 1.328 GB, free: 420 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.58e-05/0.4667, allocations: 0 / 1.328 GB, free: 420 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.448e-05/0.4667, allocations: 4.406 kB / 1.328 GB, free: 416 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.996e-05/0.4667, allocations: 3.984 kB / 1.328 GB, free: 412 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.898e-05/0.4668, allocations: 3.938 kB / 1.328 GB, free: 408 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.4668, allocations: 0 / 1.328 GB, free: 408 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.346e-06/0.4668, allocations: 0 / 1.328 GB, free: 408 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.4668, allocations: 3.984 kB / 1.328 GB, free: 404 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.203e-05/0.4668, allocations: 0 / 1.328 GB, free: 404 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.715e-05/0.4669, allocations: 0 / 1.328 GB, free: 404 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4669, allocations: 0 / 1.328 GB, free: 404 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4669, allocations: 7.938 kB / 1.328 GB, free: 396 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.4669, allocations: 4 kB / 1.328 GB, free: 392 kB / 1.014 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.0003327/0.4672, allocations: 234.4 kB / 1.328 GB, free: 124 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.4673, allocations: 12.06 kB / 1.328 GB, free: 112 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.4673, allocations: 0.9375 kB / 1.328 GB, free: 112 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.4674, allocations: 114.5 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.4674, allocations: 384 / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.4675, allocations: 384 / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.4676, allocations: 30.27 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.4676, allocations: 192 / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.4676, allocations: 11.92 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4676, allocations: 0 / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.83e-05/0.4676, allocations: 0 / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.4678, allocations: 101.3 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.837e-05/0.4678, allocations: 18.52 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.646e-05/0.4678, allocations: 8.953 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.4679, allocations: 0 / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.4679, allocations: 30.56 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.403e-06/0.4679, allocations: 7.938 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001631/0.468, allocations: 45.69 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.4681, allocations: 55.41 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.11e-05/0.4681, allocations: 89.86 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.4682, allocations: 25.7 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.408e-05/0.4682, allocations: 80.14 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/0.4682, allocations: 3.953 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.4683, allocations: 13.72 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001927/0.4685, allocations: 310.8 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.988e-06/0.4685, allocations: 0 / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.179e-05/0.4685, allocations: 8 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.055e-05/0.4685, allocations: 12.91 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4685, allocations: 0 / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.546e-05/0.4686, allocations: 37.64 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.4686, allocations: 4 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.4686, allocations: 0 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.4686, allocations: 0 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.425e-05/0.4687, allocations: 4 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.4687, allocations: 3.938 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.082e-05/0.4687, allocations: 0 / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.4687, allocations: 0 / 1.329 GB, free: 14.97 MB / 1.029 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 0.0001144/0.4688, allocations: 114.4 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-06/0.4689, allocations: 4 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.298e-05/0.4689, allocations: 6.984 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4689, allocations: 0 / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.4689, allocations: 7.938 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-06/0.4689, allocations: 0 / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.4689, allocations: 0 / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.575e-06/0.4689, allocations: 0 / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.4689, allocations: 7.938 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.693e-05/0.469, allocations: 108.9 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001551/0.4692, allocations: 210.8 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.915e-05/0.4692, allocations: 4 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.401e-05/0.4692, allocations: 75.28 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of Backend: time 4.71e-07/0.4692, allocations: 0 / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003627/0.4696, allocations: 88.36 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of SimCode: time 0.0004587/0.4701, allocations: 0.5254 MB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of Templates: time 0.002583/0.4727, allocations: 191.7 kB / 1.33 GB, free: 13.55 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_12_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.58174371500354]