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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 110.5 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002102/0.002102, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 249.4 MB, free: 3.312 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.786/2.786, allocations: 476.6 MB / 0.7628 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.003147/0.003147, allocations: 67.91 kB / 1.107 GB, free: 4.512 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.007, allocations: 168.7 MB / 1.272 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001786/1.009, allocations: 0.5961 MB / 1.273 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002594/1.009, allocations: 49.28 kB / 1.273 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.736e-05/1.009, allocations: 1.125 kB / 1.273 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.638e-05/1.009, allocations: 0 / 1.273 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.7e-06/1.009, allocations: 0 / 1.273 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/1.009, allocations: 16.69 kB / 1.273 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.637e-05/1.009, allocations: 5.062 kB / 1.273 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/1.009, allocations: 6.75 kB / 1.273 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.199e-05/1.009, allocations: 1.781 kB / 1.273 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.046e-05/1.009, allocations: 0.8438 kB / 1.273 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.466e-06/1.009, allocations: 0 / 1.273 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/1.009, allocations: 19.92 kB / 1.273 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/1.009, allocations: 4.719 kB / 1.273 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.482e-05/1.009, allocations: 0 / 1.273 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.751e-05/1.01, allocations: 19.39 kB / 1.273 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/1.01, allocations: 0.6562 kB / 1.273 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.022e-06/1.01, allocations: 0 / 1.273 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.551e-06/1.01, allocations: 4.531 kB / 1.273 GB, free: 7.48 MB / 0.9981 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.0002491/1.01, allocations: 313.6 kB / 1.273 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/1.01, allocations: 13.42 kB / 1.273 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002591/1.01, allocations: 22.08 kB / 1.273 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.516e-05/1.01, allocations: 161.8 kB / 1.273 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/1.01, allocations: 1.219 kB / 1.273 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/1.01, allocations: 1.531 kB / 1.273 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/1.01, allocations: 38.36 kB / 1.273 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/1.01, allocations: 192 / 1.273 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/1.01, allocations: 4.906 kB / 1.273 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/1.01, allocations: 0 / 1.273 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.867e-05/1.01, allocations: 17.39 kB / 1.273 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001002/1.011, allocations: 145.5 kB / 1.273 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.371e-05/1.011, allocations: 28.22 kB / 1.273 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.019e-05/1.011, allocations: 9.906 kB / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/1.011, allocations: 0.8438 kB / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.342e-05/1.011, allocations: 32.14 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/1.011, allocations: 0 / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0002321/1.011, allocations: 52.11 kB / 1.274 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.992e-05/1.011, allocations: 55.53 kB / 1.274 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.781e-05/1.011, allocations: 94.52 kB / 1.274 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.652e-06/1.011, allocations: 26.48 kB / 1.274 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.998e-06/1.011, allocations: 80.14 kB / 1.274 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/1.011, allocations: 1.344 kB / 1.274 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/1.011, allocations: 12.42 kB / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.561e-05/1.011, allocations: 311.9 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.878e-05/1.011, allocations: 5.297 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.742e-05/1.011, allocations: 9.016 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.419e-05/1.011, allocations: 15.31 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.011, allocations: 0.6875 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001111/1.011, allocations: 51.41 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/1.011, allocations: 6.422 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/1.011, allocations: 0 / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/1.011, allocations: 8.719 kB / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.101e-05/1.011, allocations: 4.609 kB / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/1.011, allocations: 4.641 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.358e-05/1.012, allocations: 2.562 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/1.012, allocations: 1.703 kB / 1.274 GB, free: 5.902 MB / 0.9981 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 3.951e-05/1.012, allocations: 107.2 kB / 1.274 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.674e-06/1.012, allocations: 0.875 kB / 1.274 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.239e-05/1.012, allocations: 7.812 kB / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/1.012, allocations: 4.781 kB / 1.274 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/1.012, allocations: 0.5625 kB / 1.274 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-06/1.012, allocations: 1 kB / 1.274 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.402e-05/1.012, allocations: 152.3 kB / 1.274 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/1.012, allocations: 0.5625 kB / 1.274 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.277e-05/1.012, allocations: 4.734 kB / 1.274 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/1.012, allocations: 4.719 kB / 1.274 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/1.012, allocations: 5.156 kB / 1.274 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/1.012, allocations: 0.8438 kB / 1.274 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/1.012, allocations: 0 / 1.274 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/1.012, allocations: 69.2 kB / 1.275 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.591e-05/1.012, allocations: 81.02 kB / 1.275 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/1.012, allocations: 9.312 kB / 1.275 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.292e-05/1.012, allocations: 6.016 kB / 1.275 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.721e-05/1.012, allocations: 1.578 kB / 1.275 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/1.012, allocations: 0.75 kB / 1.275 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.161e-05/1.012, allocations: 83.31 kB / 1.275 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.012, allocations: 0.7812 kB / 1.275 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000172/1.012, allocations: 1.359 kB / 1.275 GB, free: 5.316 MB / 0.9981 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.0001085/1.012, allocations: 101.2 kB / 1.275 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001535/1.012, allocations: 12.3 kB / 1.275 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.012, allocations: 0.7812 kB / 1.275 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.476e-05/1.012, allocations: 13.89 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/1.013, allocations: 3.469 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002445/1.013, allocations: 109.3 kB / 1.275 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.262e-05/1.013, allocations: 0.6712 MB / 1.276 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3e-05/1.013, allocations: 5.469 kB / 1.276 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.219e-05/1.013, allocations: 8.828 kB / 1.276 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of SimCode: time 4.2e-07/1.013, allocations: 0.8438 kB / 1.276 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of Templates: time 0.00229/1.015, allocations: 228.7 kB / 1.276 GB, free: 4.352 MB / 0.9981 GB " [Timeout remaining time 299] 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: 8.98464272171259]