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.001321/0.001321, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001419/0.001419, allocations: 156 kB / 23.01 MB, free: 4.605 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.425/1.425, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.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 2.773/2.773, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 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.002212/0.002212, allocations: 59.91 kB / 0.9819 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9461/0.9484, allocations: 176.1 MB / 1.154 GB, free: 33.38 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.00158/0.9499, allocations: 0.6126 MB / 1.154 GB, free: 33 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 3.098e-05/0.95, allocations: 3.031 kB / 1.154 GB, free: 33 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.926e-05/0.95, allocations: 0 / 1.154 GB, free: 33 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.246e-05/0.95, allocations: 3.938 kB / 1.154 GB, free: 33 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.32e-06/0.95, allocations: 0 / 1.154 GB, free: 33 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 3.373e-05/0.95, allocations: 0 / 1.154 GB, free: 33 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 4.467e-05/0.9501, allocations: 3.281 kB / 1.154 GB, free: 33 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.9501, allocations: 3.062 kB / 1.154 GB, free: 33 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.33e-05/0.9501, allocations: 3.984 kB / 1.154 GB, free: 32.99 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 1.543e-05/0.9502, allocations: 0 / 1.154 GB, free: 32.99 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 8.245e-06/0.9502, allocations: 0 / 1.154 GB, free: 32.99 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 2.575e-06/0.9502, allocations: 4 kB / 1.154 GB, free: 32.99 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/0.9502, allocations: 6.75 kB / 1.154 GB, free: 32.98 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.755e-05/0.9502, allocations: 4 kB / 1.154 GB, free: 32.98 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 4.664e-05/0.9502, allocations: 0 / 1.154 GB, free: 32.98 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.9502, allocations: 0 / 1.154 GB, free: 32.98 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9503, allocations: 0 / 1.154 GB, free: 32.98 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.9503, allocations: 3.938 kB / 1.154 GB, free: 32.98 MB / 1.076 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.0001971/0.9505, allocations: 233.3 kB / 1.155 GB, free: 32.72 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.9505, allocations: 9.781 kB / 1.155 GB, free: 32.72 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.579e-05/0.9505, allocations: 0.9375 kB / 1.155 GB, free: 32.72 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.55e-05/0.9506, allocations: 105 kB / 1.155 GB, free: 32.6 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.9506, allocations: 4.375 kB / 1.155 GB, free: 32.59 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-06/0.9506, allocations: 384 / 1.155 GB, free: 32.59 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.83e-05/0.9507, allocations: 32.73 kB / 1.155 GB, free: 32.56 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.9507, allocations: 4.125 kB / 1.155 GB, free: 32.55 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.9507, allocations: 6.938 kB / 1.155 GB, free: 32.55 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.9507, allocations: 0 / 1.155 GB, free: 32.55 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.668e-05/0.9507, allocations: 3.188 kB / 1.155 GB, free: 32.55 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.273e-05/0.9508, allocations: 95.77 kB / 1.155 GB, free: 32.43 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 3.385e-05/0.9508, allocations: 17.39 kB / 1.155 GB, free: 32.41 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.908e-05/0.9508, allocations: 8.859 kB / 1.155 GB, free: 32.39 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.9508, allocations: 6.562 kB / 1.155 GB, free: 32.39 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.9509, allocations: 30.56 kB / 1.155 GB, free: 32.35 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.9509, allocations: 0 / 1.155 GB, free: 32.35 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0001118/0.951, allocations: 42.25 kB / 1.155 GB, free: 32.31 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.951, allocations: 51.41 kB / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.877e-05/0.951, allocations: 89.86 kB / 1.155 GB, free: 32.15 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.194e-06/0.951, allocations: 28.14 kB / 1.155 GB, free: 32.12 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.04e-05/0.951, allocations: 80.14 kB / 1.155 GB, free: 32.04 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.9511, allocations: 3.953 kB / 1.155 GB, free: 32.04 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-05/0.9511, allocations: 16.5 kB / 1.155 GB, free: 32.02 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.598e-05/0.9511, allocations: 314.8 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.907e-06/0.9511, allocations: 2.531 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.158e-06/0.9511, allocations: 0 / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.984e-05/0.9512, allocations: 11.52 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.9512, allocations: 2.906 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.749e-05/0.9512, allocations: 38.7 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.9512, allocations: 5.156 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.9512, allocations: 0 / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.9512, allocations: 2.281 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.891e-05/0.9513, allocations: 8.031 kB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.9513, allocations: 2.531 kB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.837e-06/0.9513, allocations: 3.938 kB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.9513, allocations: 3.938 kB / 1.156 GB, free: 31.63 MB / 1.076 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 4.073e-05/0.9513, allocations: 111.7 kB / 1.156 GB, free: 31.52 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-06/0.9513, allocations: 0 / 1.156 GB, free: 31.52 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.371e-05/0.9514, allocations: 3 kB / 1.156 GB, free: 31.52 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.9514, allocations: 3.938 kB / 1.156 GB, free: 31.51 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.9514, allocations: 0 / 1.156 GB, free: 31.51 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.9514, allocations: 2.406 kB / 1.156 GB, free: 31.51 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.871e-05/0.9514, allocations: 101.3 kB / 1.156 GB, free: 31.38 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.9514, allocations: 0 / 1.156 GB, free: 31.38 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.046e-05/0.9514, allocations: 9.953 kB / 1.156 GB, free: 31.38 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.9514, allocations: 0 / 1.156 GB, free: 31.38 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-06/0.9514, allocations: 0 / 1.156 GB, free: 31.38 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.9514, allocations: 0 / 1.156 GB, free: 31.38 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.9514, allocations: 6.812 kB / 1.156 GB, free: 31.38 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.749e-05/0.9515, allocations: 58.08 kB / 1.156 GB, free: 31.3 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-06/0.9515, allocations: 5.844 kB / 1.156 GB, free: 31.3 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-06/0.9515, allocations: 0 / 1.156 GB, free: 31.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.172e-06/0.9515, allocations: 32 / 1.156 GB, free: 31.3 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.018e-05/0.9515, allocations: 7.938 kB / 1.156 GB, free: 31.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-06/0.9515, allocations: 0 / 1.156 GB, free: 31.3 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.163e-05/0.9515, allocations: 78 kB / 1.156 GB, free: 31.22 MB / 1.076 GB Notification: Performance of sort global known variables: time 5e-08/0.9515, allocations: 0 / 1.156 GB, free: 31.22 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001807/0.9517, allocations: 4 kB / 1.156 GB, free: 31.22 MB / 1.076 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 6.455e-05/0.9518, allocations: 92.94 kB / 1.156 GB, free: 31.13 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 7.507e-05/0.9518, allocations: 10.11 kB / 1.156 GB, free: 31.12 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.9518, allocations: 2.75 kB / 1.156 GB, free: 31.12 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.981e-06/0.9518, allocations: 4.062 kB / 1.156 GB, free: 31.12 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.952, allocations: 4.656 kB / 1.156 GB, free: 31.12 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001601/0.9521, allocations: 79.12 kB / 1.156 GB, free: 31.03 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.527e-05/0.9522, allocations: 57.84 kB / 1.156 GB, free: 30.95 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.038e-05/0.9522, allocations: 3.328 kB / 1.156 GB, free: 30.95 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.373e-05/0.9522, allocations: 11.28 kB / 1.156 GB, free: 30.95 MB / 1.076 GB Notification: Performance of SimCode: time 2.8e-07/0.9522, allocations: 0 / 1.156 GB, free: 30.95 MB / 1.076 GB Notification: Performance of Templates: time 0.001975/0.9542, allocations: 167 kB / 1.156 GB, free: 30.89 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 8.627472552005202]