Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001084/0.001084, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00127/0.002355, 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.001185/0.001185, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001571/0.002757, 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 0.9761/0.9761, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08738/1.063, allocations: 53.66 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.384/2.384, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2477/2.632, allocations: 146 MB / 0.8176 GB, free: 3.812 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.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.RegStep") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.819 GB, free: 2.43 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.743e-05, allocations: 4.422 kB / 0.819 GB, free: 2.426 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001404/0.001432, allocations: 0.6541 MB / 0.8196 GB, free: 1.766 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.000113/0.001545, allocations: 51.8 kB / 0.8197 GB, free: 1.715 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.328e-05/0.001558, allocations: 0 / 0.8197 GB, free: 1.715 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 5.35e-06/0.001563, allocations: 0 / 0.8197 GB, free: 1.715 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.314e-06/0.001565, allocations: 0 / 0.8197 GB, free: 1.715 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001087/0.001674, allocations: 15.92 kB / 0.8197 GB, free: 1.699 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 4.791e-05/0.001722, allocations: 4 kB / 0.8197 GB, free: 1.695 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.14e-05/0.001763, allocations: 3.938 kB / 0.8197 GB, free: 1.691 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.023e-05/0.001804, allocations: 4 kB / 0.8197 GB, free: 1.688 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.554e-05/0.001839, allocations: 0 / 0.8197 GB, free: 1.688 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.001851, allocations: 4 kB / 0.8197 GB, free: 1.684 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.001963, allocations: 23.97 kB / 0.8197 GB, free: 1.66 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.001974, allocations: 0 / 0.8197 GB, free: 1.66 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 9.448e-06/0.001984, allocations: 0 / 0.8197 GB, free: 1.66 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.154e-05/0.002065, allocations: 19.92 kB / 0.8197 GB, free: 1.641 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.204e-05/0.002077, allocations: 0 / 0.8197 GB, free: 1.641 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.51e-07/0.002078, allocations: 0 / 0.8197 GB, free: 1.641 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.491e-05/0.002093, allocations: 0 / 0.8197 GB, free: 1.641 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.0002787/0.002372, allocations: 216.7 kB / 0.8199 GB, free: 1.402 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.002406, allocations: 8.031 kB / 0.82 GB, free: 1.395 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002493/0.002656, allocations: 106 kB / 0.8201 GB, free: 1.273 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.841e-05/0.002714, allocations: 101.8 kB / 0.8202 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.002724, allocations: 4.312 kB / 0.8202 GB, free: 1.145 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.002732, allocations: 384 / 0.8202 GB, free: 1.145 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.24e-05/0.002824, allocations: 46.95 kB / 0.8202 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.002831, allocations: 192 / 0.8202 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-06/0.002837, allocations: 384 / 0.8202 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.002842, allocations: 384 / 0.8202 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.479e-05/0.002857, allocations: 11.88 kB / 0.8202 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.731e-05/0.002924, allocations: 57.05 kB / 0.8203 GB, free: 1.008 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 3.873e-05/0.002963, allocations: 26.59 kB / 0.8203 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.023e-05/0.002973, allocations: 4.859 kB / 0.8203 GB, free: 0.9648 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.002987, allocations: 0 / 0.8203 GB, free: 0.9648 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.003007, allocations: 34.62 kB / 0.8203 GB, free: 0.9219 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 5.71e-07/0.003008, allocations: 0 / 0.8203 GB, free: 0.9219 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 9.214e-05/0.0031, allocations: 33.64 kB / 0.8204 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.003128, allocations: 51.41 kB / 0.8204 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.921e-05/0.003158, allocations: 89.86 kB / 0.8205 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 8.786e-06/0.003166, allocations: 29.83 kB / 0.8205 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.158e-05/0.003188, allocations: 88.12 kB / 0.8206 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.003218, allocations: 7.922 kB / 0.8206 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.929e-05/0.003237, allocations: 9.719 kB / 0.8206 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.788e-05/0.003325, allocations: 318.8 kB / 0.8209 GB, free: 260 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.883e-06/0.003332, allocations: 0 / 0.8209 GB, free: 260 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.282e-06/0.003338, allocations: 0 / 0.8209 GB, free: 260 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.496e-05/0.003363, allocations: 8.859 kB / 0.8209 GB, free: 248 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.003365, allocations: 0 / 0.8209 GB, free: 248 kB / 0.7917 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.89e-05/0.003404, allocations: 45.69 kB / 0.821 GB, free: 196 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.003423, allocations: 9.562 kB / 0.821 GB, free: 188 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.003428, allocations: 0 / 0.821 GB, free: 188 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.00344, allocations: 0 / 0.821 GB, free: 188 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.723e-05/0.003497, allocations: 0 / 0.821 GB, free: 188 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.003502, allocations: 7.984 kB / 0.821 GB, free: 180 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.1e-05/0.003513, allocations: 0 / 0.821 GB, free: 180 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.003519, allocations: 4 kB / 0.821 GB, free: 176 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 4.759e-05/0.003567, allocations: 109.8 kB / 0.8211 GB, free: 56 kB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-06/0.003571, allocations: 4 kB / 0.8211 GB, free: 52 kB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.83e-05/0.003589, allocations: 7.031 kB / 0.8211 GB, free: 48 kB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.00359, allocations: 3.938 kB / 0.8211 GB, free: 44 kB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.003592, allocations: 0 / 0.8211 GB, free: 44 kB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.003594, allocations: 0 / 0.8211 GB, free: 44 kB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.404e-05/0.003648, allocations: 65.83 kB / 0.8212 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.00365, allocations: 7.984 kB / 0.8212 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.181e-05/0.003662, allocations: 0 / 0.8212 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.407e-06/0.003665, allocations: 4 kB / 0.8212 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.11e-07/0.003666, allocations: 0 / 0.8212 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-06/0.003669, allocations: 0 / 0.8212 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.003671, allocations: 7.984 kB / 0.8212 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.003672, allocations: 0 / 0.8212 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.053e-05/0.003722, allocations: 65 kB / 0.8213 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.672e-06/0.003729, allocations: 0 / 0.8213 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-06/0.003736, allocations: 0 / 0.8213 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.448e-06/0.003746, allocations: 4 kB / 0.8213 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-06/0.003747, allocations: 0 / 0.8213 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.182e-06/0.003753, allocations: 8.859 kB / 0.8213 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.003753, allocations: 0 / 0.8213 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of remove unused functions: time 8.793e-05/0.003841, allocations: 0 / 0.8213 GB, free: 15.84 MB / 0.8073 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.71e-05/0.003908, allocations: 84.44 kB / 0.8214 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.988e-05/0.003958, allocations: 8.859 kB / 0.8214 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.003961, allocations: 0 / 0.8214 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.3e-05/0.003974, allocations: 12.78 kB / 0.8214 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.419e-05/0.004028, allocations: 15.92 kB / 0.8214 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001347/0.004163, allocations: 82.16 kB / 0.8215 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.35e-05/0.004186, allocations: 59.53 kB / 0.8215 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.768e-05/0.004204, allocations: 4 kB / 0.8215 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.004237, allocations: 47.38 kB / 0.8216 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of SimCode: time 3.2e-07/0.004237, allocations: 3.938 kB / 0.8216 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of Templates: time 0.001371/0.005608, allocations: 281.7 kB / 0.8219 GB, free: 15.2 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.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.2662778329104185]