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.001396/0.001396, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001529/0.001529, allocations: 161.7 kB / 23.54 MB, free: 0.8906 MB / 18.57 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.508/1.508, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.85/2.85, allocations: 377.8 MB / 0.6232 GB, free: 8.488 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.401e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001739/0.001763, allocations: 0.6137 MB / 0.8114 GB, free: 1.531 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 3.962e-05/0.001803, allocations: 4.766 kB / 0.8114 GB, free: 1.527 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.578e-05/0.001818, allocations: 0.5625 kB / 0.8114 GB, free: 1.527 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.297e-05/0.001841, allocations: 0 / 0.8114 GB, free: 1.527 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.18e-06/0.001846, allocations: 0.875 kB / 0.8114 GB, free: 1.527 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.54e-05/0.001882, allocations: 0 / 0.8114 GB, free: 1.527 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.85e-05/0.00193, allocations: 4.953 kB / 0.8114 GB, free: 1.523 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.533e-05/0.001966, allocations: 4.766 kB / 0.8114 GB, free: 1.52 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.999e-05/0.001996, allocations: 3.984 kB / 0.8114 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.078e-05/0.002016, allocations: 0.6562 kB / 0.8114 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.002027, allocations: 0.875 kB / 0.8114 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 2.945e-06/0.00203, allocations: 0 / 0.8114 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.005e-05/0.00204, allocations: 0.5469 kB / 0.8114 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.943e-05/0.00206, allocations: 0.8125 kB / 0.8114 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 4.351e-05/0.002103, allocations: 4.219 kB / 0.8114 GB, free: 1.512 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.002107, allocations: 9.625 kB / 0.8114 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.81e-07/0.002108, allocations: 0 / 0.8114 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.002111, allocations: 0 / 0.8114 GB, free: 1.504 MB / 0.7605 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.0002867/0.002398, allocations: 230.5 kB / 0.8116 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.002436, allocations: 13.5 kB / 0.8116 GB, free: 1.234 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.002473, allocations: 0.9375 kB / 0.8116 GB, free: 1.234 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.002574, allocations: 109.8 kB / 0.8117 GB, free: 1.102 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.002585, allocations: 384 / 0.8117 GB, free: 1.102 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.503e-06/0.002592, allocations: 384 / 0.8117 GB, free: 1.102 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.449e-05/0.002686, allocations: 27.36 kB / 0.8118 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.002694, allocations: 192 / 0.8118 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.002704, allocations: 9.938 kB / 0.8118 GB, free: 1.062 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.002708, allocations: 384 / 0.8118 GB, free: 1.062 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.687e-05/0.002725, allocations: 3.938 kB / 0.8118 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001261/0.002851, allocations: 93.33 kB / 0.8119 GB, free: 0.9375 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 4.66e-05/0.002898, allocations: 23.27 kB / 0.8119 GB, free: 0.9062 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.628e-05/0.002924, allocations: 9.453 kB / 0.8119 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.002935, allocations: 0 / 0.8119 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.00297, allocations: 36.14 kB / 0.8119 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 6.72e-07/0.00297, allocations: 0 / 0.8119 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.0001333/0.003103, allocations: 33.7 kB / 0.812 GB, free: 0.8125 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.003152, allocations: 59.97 kB / 0.812 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.598e-05/0.003208, allocations: 89.86 kB / 0.8121 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.003229, allocations: 26.39 kB / 0.8121 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 4.193e-05/0.00327, allocations: 80.14 kB / 0.8122 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.003292, allocations: 0.6875 kB / 0.8122 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.003322, allocations: 9.719 kB / 0.8122 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.003496, allocations: 323.3 kB / 0.8125 GB, free: 196 kB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-06/0.003505, allocations: 0.7812 kB / 0.8125 GB, free: 196 kB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.068e-05/0.003525, allocations: 3.984 kB / 0.8125 GB, free: 192 kB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.091e-05/0.003556, allocations: 10.23 kB / 0.8125 GB, free: 180 kB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.003558, allocations: 0 / 0.8125 GB, free: 180 kB / 0.7605 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.127e-05/0.003619, allocations: 35.39 kB / 0.8126 GB, free: 140 kB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.003634, allocations: 8 kB / 0.8126 GB, free: 132 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.003639, allocations: 0 / 0.8126 GB, free: 132 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.003655, allocations: 0 / 0.8126 GB, free: 132 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.436e-05/0.0037, allocations: 3.938 kB / 0.8126 GB, free: 128 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.003703, allocations: 3.188 kB / 0.8126 GB, free: 128 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.904e-05/0.003723, allocations: 11.94 kB / 0.8126 GB, free: 116 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-06/0.003726, allocations: 0 / 0.8126 GB, free: 116 kB / 0.7605 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 8.031e-05/0.003806, allocations: 105.8 kB / 0.8127 GB, free: 0 / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.003833, allocations: 4.047 kB / 0.8127 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.101e-05/0.003844, allocations: 3 kB / 0.8127 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.003848, allocations: 8 kB / 0.8127 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.003852, allocations: 0 / 0.8127 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.003853, allocations: 1.188 kB / 0.8127 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.814e-05/0.003942, allocations: 97.27 kB / 0.8128 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.003942, allocations: 0 / 0.8128 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.406e-05/0.003956, allocations: 4.594 kB / 0.8128 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.003958, allocations: 0 / 0.8128 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-06/0.003963, allocations: 0.5625 kB / 0.8128 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.003964, allocations: 0.9062 kB / 0.8128 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.003965, allocations: 0 / 0.8128 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.967e-05/0.004055, allocations: 73.95 kB / 0.8129 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-06/0.004061, allocations: 3.953 kB / 0.8129 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.225e-06/0.004069, allocations: 0 / 0.8129 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.762e-06/0.004076, allocations: 2.375 kB / 0.8129 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.375e-05/0.00409, allocations: 4 kB / 0.8129 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-06/0.004091, allocations: 0 / 0.8129 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.093e-05/0.004132, allocations: 75.28 kB / 0.813 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.1e-08/0.004132, allocations: 0 / 0.813 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001858/0.004318, allocations: 0 / 0.813 GB, free: 15.69 MB / 0.7761 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 0.0001204/0.004438, allocations: 100.5 kB / 0.8131 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.019e-05/0.004499, allocations: 8 kB / 0.8131 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.0045, allocations: 0.9375 kB / 0.8131 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.183e-05/0.004512, allocations: 7.938 kB / 0.8131 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.004653, allocations: 1.219 kB / 0.8131 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002049/0.004858, allocations: 70.48 kB / 0.8131 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.996e-05/0.004918, allocations: 63.2 kB / 0.8132 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.337e-06/0.004927, allocations: 0.9062 kB / 0.8132 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.004954, allocations: 8.5 kB / 0.8132 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.004955, allocations: 2.219 kB / 0.8132 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of Templates: time 0.002226/0.007181, allocations: 190.1 kB / 0.8134 GB, free: 15.19 MB / 0.7761 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/jenkins/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: 7.708182441885583]