Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001325/0.001325, allocations: 80.53 kB / 19.18 MB, free: 2.52 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.001561/0.001561, allocations: 163.9 kB / 22.46 MB, free: 5.375 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.438/1.438, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.814/2.814, allocations: 359 MB / 0.6037 GB, free: 14.95 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.RegStep") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.951 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.645e-05/2.779e-05, allocations: 2.281 kB / 0.951 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.00154/0.001567, allocations: 0.5956 MB / 0.9516 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002552/0.001823, allocations: 47.8 kB / 0.9516 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.352e-05/0.001846, allocations: 0 / 0.9516 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.253e-05/0.001859, allocations: 0 / 0.9516 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.075e-06/0.001867, allocations: 4 kB / 0.9517 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.002098, allocations: 11.92 kB / 0.9517 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 3.897e-05/0.002137, allocations: 4 kB / 0.9517 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.397e-05/0.002181, allocations: 3.984 kB / 0.9517 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.613e-05/0.002207, allocations: 8 kB / 0.9517 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.584e-05/0.002233, allocations: 0 / 0.9517 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.002244, allocations: 0 / 0.9517 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.002348, allocations: 23.97 kB / 0.9517 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.002358, allocations: 3.938 kB / 0.9517 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.229e-05/0.00237, allocations: 0 / 0.9517 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.052e-05/0.002461, allocations: 19.92 kB / 0.9517 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.002463, allocations: 0 / 0.9517 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.81e-07/0.002463, allocations: 3.938 kB / 0.9517 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.002467, allocations: 4 kB / 0.9517 GB, free: 10.77 MB / 0.8575 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.0003017/0.002769, allocations: 238.4 kB / 0.952 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.002806, allocations: 8.031 kB / 0.952 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002505/0.003056, allocations: 20.91 kB / 0.952 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.247e-05/0.003149, allocations: 101.8 kB / 0.9521 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.003161, allocations: 384 / 0.9521 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.003171, allocations: 4.375 kB / 0.9521 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.003312, allocations: 34.25 kB / 0.9521 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.003321, allocations: 4.188 kB / 0.9521 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.924e-06/0.003328, allocations: 384 / 0.9521 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.003332, allocations: 384 / 0.9521 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.474e-05/0.003427, allocations: 15.92 kB / 0.9521 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001271/0.003554, allocations: 101.2 kB / 0.9522 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.502e-05/0.003639, allocations: 18.61 kB / 0.9523 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.752e-05/0.003696, allocations: 12.91 kB / 0.9523 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.003715, allocations: 0 / 0.9523 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.003747, allocations: 42.56 kB / 0.9523 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.003747, allocations: 0 / 0.9523 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0002469/0.003994, allocations: 49.61 kB / 0.9524 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.004037, allocations: 51.41 kB / 0.9524 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.837e-05/0.004086, allocations: 89.86 kB / 0.9525 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.004101, allocations: 25.7 kB / 0.9525 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.402e-05/0.004135, allocations: 80.14 kB / 0.9526 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.004164, allocations: 3.953 kB / 0.9526 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-05/0.004198, allocations: 17.84 kB / 0.9526 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.004339, allocations: 318.8 kB / 0.9529 GB, free: 9.391 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.208e-05/0.004391, allocations: 7.984 kB / 0.9529 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.089e-05/0.004431, allocations: 4 kB / 0.9529 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.916e-05/0.004531, allocations: 12.84 kB / 0.9529 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.004532, allocations: 0 / 0.9529 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001393/0.004671, allocations: 45.62 kB / 0.953 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.004684, allocations: 8.094 kB / 0.953 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.004688, allocations: 3.938 kB / 0.953 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.004703, allocations: 3.984 kB / 0.953 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.774e-05/0.004771, allocations: 4 kB / 0.953 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.004776, allocations: 0 / 0.953 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.621e-05/0.004812, allocations: 3.938 kB / 0.953 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.004818, allocations: 4 kB / 0.953 GB, free: 9.285 MB / 0.8575 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 7.927e-05/0.004897, allocations: 113.8 kB / 0.9531 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.855e-06/0.004905, allocations: 0 / 0.9531 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.638e-05/0.004931, allocations: 10.98 kB / 0.9531 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.004933, allocations: 3.938 kB / 0.9531 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.004939, allocations: 8 kB / 0.9531 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.004941, allocations: 0 / 0.9531 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.057e-05/0.005022, allocations: 101.2 kB / 0.9532 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.005023, allocations: 0 / 0.9532 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.72e-05/0.00507, allocations: 7.984 kB / 0.9532 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.005071, allocations: 0 / 0.9532 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.005078, allocations: 0 / 0.9532 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.005079, allocations: 0 / 0.9532 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.005079, allocations: 0 / 0.9532 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.005242, allocations: 77 kB / 0.9533 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-06/0.005246, allocations: 0 / 0.9533 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.005263, allocations: 7.984 kB / 0.9533 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.216e-05/0.005295, allocations: 0 / 0.9533 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.117e-06/0.005304, allocations: 0 / 0.9533 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.005307, allocations: 0 / 0.9533 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.392e-05/0.005341, allocations: 75.28 kB / 0.9534 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7.1e-08/0.005341, allocations: 0 / 0.9534 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001825/0.005524, allocations: 4 kB / 0.9534 GB, free: 8.828 MB / 0.8575 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.0001098/0.005634, allocations: 99.22 kB / 0.9535 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001472/0.005781, allocations: 11.98 kB / 0.9535 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.005783, allocations: 0 / 0.9535 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.174e-05/0.005834, allocations: 11.92 kB / 0.9535 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.005968, allocations: 13.05 kB / 0.9535 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002717/0.006239, allocations: 88.97 kB / 0.9536 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.287e-05/0.006292, allocations: 59.36 kB / 0.9537 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.667e-05/0.006319, allocations: 0 / 0.9537 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.006349, allocations: 16.42 kB / 0.9537 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/0.00635, allocations: 0 / 0.9537 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of Templates: time 0.002328/0.008677, allocations: 244.6 kB / 0.9539 GB, free: 8.246 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.685645632445812]