Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.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.001916/0.001916, 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.002265/0.002265, allocations: 161.7 kB / 23.55 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.495/1.495, allocations: 177.1 MB / 203.9 MB, free: 5.594 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.848/2.848, allocations: 377.8 MB / 0.6232 GB, free: 8.559 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.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.8109 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.067e-05/3.242e-05, allocations: 9.266 kB / 0.8109 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001669/0.001701, allocations: 0.5961 MB / 0.8114 GB, free: 356 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002431/0.001944, allocations: 40.53 kB / 0.8115 GB, free: 316 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.618e-05/0.00196, allocations: 0.8438 kB / 0.8115 GB, free: 316 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.051e-05/0.001971, allocations: 0 / 0.8115 GB, free: 316 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.049e-06/0.001976, allocations: 0.6562 kB / 0.8115 GB, free: 316 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.002195, allocations: 25.58 kB / 0.8115 GB, free: 292 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 3.502e-05/0.00223, allocations: 1.203 kB / 0.8115 GB, free: 292 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.665e-05/0.002266, allocations: 3.984 kB / 0.8115 GB, free: 288 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.416e-05/0.00229, allocations: 4.562 kB / 0.8115 GB, free: 284 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.312e-05/0.002313, allocations: 0 / 0.8115 GB, free: 284 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.002324, allocations: 0.6562 kB / 0.8115 GB, free: 284 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.002427, allocations: 23.97 kB / 0.8115 GB, free: 260 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.032e-05/0.002437, allocations: 0.6562 kB / 0.8115 GB, free: 260 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.897e-05/0.002456, allocations: 1.391 kB / 0.8115 GB, free: 260 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.666e-05/0.002543, allocations: 15.97 kB / 0.8116 GB, free: 244 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.002545, allocations: 4 kB / 0.8116 GB, free: 240 kB / 0.7136 GB Notification: Performance of FrontEnd: time 4.91e-07/0.002545, allocations: 1.766 kB / 0.8116 GB, free: 240 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.002549, allocations: 0 / 0.8116 GB, free: 240 kB / 0.7136 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.0003227/0.002872, allocations: 244.1 kB / 0.8118 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.002908, allocations: 11.97 kB / 0.8118 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002736/0.003181, allocations: 20.91 kB / 0.8118 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.003292, allocations: 107.3 kB / 0.8119 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.003303, allocations: 1.25 kB / 0.8119 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.003311, allocations: 384 / 0.8119 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.00344, allocations: 35.84 kB / 0.812 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.003447, allocations: 192 / 0.812 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.003456, allocations: 384 / 0.812 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.003459, allocations: 4.375 kB / 0.812 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.139e-05/0.003551, allocations: 12.95 kB / 0.812 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.003687, allocations: 97.33 kB / 0.8121 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.729e-05/0.003775, allocations: 27.97 kB / 0.8121 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.214e-05/0.003827, allocations: 10.08 kB / 0.8121 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.003845, allocations: 0 / 0.8121 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.003878, allocations: 34.56 kB / 0.8121 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.003879, allocations: 1.375 kB / 0.8121 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0002685/0.004148, allocations: 47.42 kB / 0.8122 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.004194, allocations: 60.11 kB / 0.8122 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.066e-05/0.004255, allocations: 89.86 kB / 0.8123 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.004275, allocations: 25.7 kB / 0.8124 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.767e-05/0.004323, allocations: 80.14 kB / 0.8124 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.004347, allocations: 0.5938 kB / 0.8124 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.004384, allocations: 17.7 kB / 0.8125 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.004561, allocations: 315.7 kB / 0.8128 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.128e-05/0.004613, allocations: 4.547 kB / 0.8128 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.447e-05/0.004657, allocations: 9.922 kB / 0.8128 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.004762, allocations: 16.84 kB / 0.8128 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.004763, allocations: 6.594 kB / 0.8128 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001386/0.004902, allocations: 41.62 kB / 0.8128 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.004916, allocations: 4.219 kB / 0.8128 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.00492, allocations: 0 / 0.8128 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.004937, allocations: 3.938 kB / 0.8128 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.655e-05/0.005004, allocations: 4.531 kB / 0.8128 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.005012, allocations: 3.984 kB / 0.8128 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.409e-05/0.005066, allocations: 12.64 kB / 0.8129 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.005071, allocations: 0.5312 kB / 0.8129 GB, free: 14.75 MB / 0.7292 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.73e-05/0.005159, allocations: 107.5 kB / 0.813 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-06/0.005168, allocations: 0 / 0.813 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.994e-05/0.005198, allocations: 7 kB / 0.813 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.0052, allocations: 0 / 0.813 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.005203, allocations: 0.5 kB / 0.813 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.005205, allocations: 0.5938 kB / 0.813 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.005307, allocations: 105.2 kB / 0.8131 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.005307, allocations: 0.7812 kB / 0.8131 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.551e-05/0.005353, allocations: 4 kB / 0.8131 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.005355, allocations: 0.5312 kB / 0.8131 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.85e-06/0.005361, allocations: 1.125 kB / 0.8131 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.144e-06/0.005368, allocations: 8 kB / 0.8131 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.005369, allocations: 0 / 0.8131 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.005543, allocations: 69.92 kB / 0.8131 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.727e-06/0.005546, allocations: 4.844 kB / 0.8132 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.005557, allocations: 0 / 0.8132 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.218e-05/0.005589, allocations: 2.219 kB / 0.8132 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.005603, allocations: 3.984 kB / 0.8132 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.005611, allocations: 11.98 kB / 0.8132 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.22e-05/0.005653, allocations: 75.28 kB / 0.8132 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.1e-08/0.005653, allocations: 0 / 0.8132 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001824/0.005835, allocations: 0 / 0.8132 GB, free: 14.31 MB / 0.7292 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.0001326/0.005968, allocations: 102 kB / 0.8133 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001406/0.006108, allocations: 11.98 kB / 0.8133 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.00611, allocations: 0 / 0.8133 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.885e-05/0.006159, allocations: 7.938 kB / 0.8134 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.006293, allocations: 5.453 kB / 0.8134 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002791/0.006572, allocations: 90.41 kB / 0.8134 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.087e-05/0.006623, allocations: 51.86 kB / 0.8135 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.765e-05/0.006661, allocations: 5.812 kB / 0.8135 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.006691, allocations: 10.38 kB / 0.8135 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of SimCode: time 4.31e-07/0.006692, allocations: 3.938 kB / 0.8135 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of Templates: time 0.002313/0.009004, allocations: 247.7 kB / 0.8138 GB, free: 13.73 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.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.5811027539893985]