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.0009147/0.0009147, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.001152/0.001152, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8888/0.8888, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.732/1.732, allocations: 377.8 MB / 0.6228 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] 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.172e-06/1.172e-06, allocations: 0 / 0.9823 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.337e-05, allocations: 9.375 kB / 0.9823 GB, free: 2.035 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001047/0.001071, allocations: 0.5839 MB / 0.9828 GB, free: 1.453 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002188/0.001289, allocations: 47.8 kB / 0.9829 GB, free: 1.406 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.506e-05/0.001304, allocations: 0 / 0.9829 GB, free: 1.406 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.388e-05/0.001318, allocations: 4 kB / 0.9829 GB, free: 1.402 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.562e-06/0.001325, allocations: 0 / 0.9829 GB, free: 1.402 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.001557, allocations: 23.86 kB / 0.9829 GB, free: 1.379 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 4.157e-05/0.001598, allocations: 0 / 0.9829 GB, free: 1.379 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.883e-05/0.001637, allocations: 0 / 0.9829 GB, free: 1.379 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 2.478e-05/0.001662, allocations: 4 kB / 0.9829 GB, free: 1.375 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 2.185e-05/0.001684, allocations: 0 / 0.9829 GB, free: 1.375 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.001696, allocations: 0 / 0.9829 GB, free: 1.375 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.262e-05/0.001789, allocations: 23.97 kB / 0.9829 GB, free: 1.352 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.001802, allocations: 3.984 kB / 0.9829 GB, free: 1.348 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.204e-05/0.001814, allocations: 3.938 kB / 0.9829 GB, free: 1.344 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.093e-05/0.001895, allocations: 15.98 kB / 0.983 GB, free: 1.328 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.001897, allocations: 4 kB / 0.983 GB, free: 1.324 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.52e-07/0.001898, allocations: 3.938 kB / 0.983 GB, free: 1.32 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.001901, allocations: 0 / 0.983 GB, free: 1.32 MB / 0.9323 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.0002139/0.002115, allocations: 242.4 kB / 0.9832 GB, free: 1.051 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.00215, allocations: 8.031 kB / 0.9832 GB, free: 1.043 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/0.00234, allocations: 16.91 kB / 0.9832 GB, free: 1.027 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.002501, allocations: 105.8 kB / 0.9833 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.00251, allocations: 4.375 kB / 0.9833 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-06/0.002518, allocations: 384 / 0.9833 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.88e-05/0.002617, allocations: 38.19 kB / 0.9834 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.002623, allocations: 192 / 0.9834 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.002633, allocations: 4.359 kB / 0.9834 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.002637, allocations: 384 / 0.9834 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.555e-05/0.002683, allocations: 15.92 kB / 0.9834 GB, free: 0.832 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.543e-05/0.002778, allocations: 105.3 kB / 0.9835 GB, free: 0.6992 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 4.747e-05/0.002826, allocations: 18.61 kB / 0.9835 GB, free: 0.6719 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.852e-05/0.002854, allocations: 16.91 kB / 0.9835 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.002871, allocations: 3.938 kB / 0.9835 GB, free: 0.6484 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.002887, allocations: 34.56 kB / 0.9836 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.002888, allocations: 0 / 0.9836 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001505/0.003039, allocations: 37.69 kB / 0.9836 GB, free: 0.5625 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.003069, allocations: 63.39 kB / 0.9836 GB, free: 500 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.338e-05/0.003092, allocations: 89.86 kB / 0.9837 GB, free: 400 kB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.003102, allocations: 25.83 kB / 0.9838 GB, free: 368 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 1.654e-05/0.003118, allocations: 84.14 kB / 0.9838 GB, free: 280 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.003143, allocations: 0 / 0.9838 GB, free: 280 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.003166, allocations: 13.72 kB / 0.9839 GB, free: 260 kB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.181e-05/0.003248, allocations: 314.8 kB / 0.9842 GB, free: 15.94 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.635e-05/0.003274, allocations: 7.984 kB / 0.9842 GB, free: 15.93 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.884e-05/0.003293, allocations: 7.938 kB / 0.9842 GB, free: 15.92 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.07e-05/0.003344, allocations: 20.78 kB / 0.9842 GB, free: 15.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.003345, allocations: 4.062 kB / 0.9842 GB, free: 15.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.176e-05/0.003407, allocations: 41.69 kB / 0.9842 GB, free: 15.85 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.003418, allocations: 4 kB / 0.9842 GB, free: 15.84 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.003427, allocations: 0 / 0.9842 GB, free: 15.84 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.003438, allocations: 0 / 0.9842 GB, free: 15.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.253e-05/0.00349, allocations: 7.984 kB / 0.9842 GB, free: 15.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.003494, allocations: 0 / 0.9842 GB, free: 15.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.507e-05/0.00351, allocations: 3.938 kB / 0.9842 GB, free: 15.83 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.003515, allocations: 4 kB / 0.9842 GB, free: 15.83 MB / 0.948 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.73e-05/0.003563, allocations: 109.9 kB / 0.9844 GB, free: 15.71 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-06/0.003566, allocations: 3.938 kB / 0.9844 GB, free: 15.71 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.672e-05/0.003593, allocations: 6.984 kB / 0.9844 GB, free: 15.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.003594, allocations: 3.938 kB / 0.9844 GB, free: 15.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.003598, allocations: 0 / 0.9844 GB, free: 15.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.0036, allocations: 4 kB / 0.9844 GB, free: 15.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.653e-05/0.003646, allocations: 101.3 kB / 0.9845 GB, free: 15.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.003648, allocations: 4 kB / 0.9845 GB, free: 15.56 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.671e-05/0.003664, allocations: 7.984 kB / 0.9845 GB, free: 15.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.003665, allocations: 4 kB / 0.9845 GB, free: 15.55 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.00367, allocations: 0 / 0.9845 GB, free: 15.55 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.71e-07/0.003671, allocations: 0 / 0.9845 GB, free: 15.55 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.003671, allocations: 0 / 0.9845 GB, free: 15.55 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.286e-05/0.003744, allocations: 65.06 kB / 0.9845 GB, free: 15.47 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-06/0.003747, allocations: 0 / 0.9845 GB, free: 15.47 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.864e-06/0.003755, allocations: 0 / 0.9845 GB, free: 15.47 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.336e-05/0.003769, allocations: 7.984 kB / 0.9846 GB, free: 15.46 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.061e-05/0.003779, allocations: 0 / 0.9846 GB, free: 15.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.003781, allocations: 32 / 0.9846 GB, free: 15.46 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.903e-05/0.0038, allocations: 83.22 kB / 0.9846 GB, free: 15.38 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.0038, allocations: 0 / 0.9846 GB, free: 15.38 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001171/0.003917, allocations: 8 kB / 0.9846 GB, free: 15.37 MB / 0.948 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.515e-05/0.003982, allocations: 95.19 kB / 0.9847 GB, free: 15.27 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.422e-05/0.004067, allocations: 11.98 kB / 0.9847 GB, free: 15.26 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.004068, allocations: 0 / 0.9847 GB, free: 15.26 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.879e-05/0.004087, allocations: 8.047 kB / 0.9847 GB, free: 15.25 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.216e-05/0.004179, allocations: 12 kB / 0.9848 GB, free: 15.24 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001911/0.00437, allocations: 106.7 kB / 0.9849 GB, free: 15.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.247e-05/0.004403, allocations: 59.22 kB / 0.9849 GB, free: 15.02 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.482e-05/0.004427, allocations: 8.5 kB / 0.9849 GB, free: 15.02 MB / 0.948 GB Notification: Performance of SimCode: time 7.41e-07/0.004428, allocations: 0 / 0.9849 GB, free: 15.02 MB / 0.948 GB Notification: Performance of Templates: time 0.001152/0.00558, allocations: 418 kB / 0.9853 GB, free: 14.61 MB / 0.948 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: 6.461307677440345]