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.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.001304/0.001304, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001388/0.001388, allocations: 191.8 kB / 22.23 MB, free: 5.102 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.471/1.471, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.146/3.146, allocations: 496 MB / 0.7835 GB, free: 33.67 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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 0.002024/0.002024, allocations: 71.33 kB / 1.138 GB, free: 33.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3375, allocations: 173.6 MB / 1.307 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.00182/0.3394, allocations: 0.5906 MB / 1.308 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002473/0.3396, allocations: 56.2 kB / 1.308 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.425e-05/0.3396, allocations: 0 / 1.308 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.063e-05/0.3396, allocations: 3.938 kB / 1.308 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.61e-06/0.3396, allocations: 0 / 1.308 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.3398, allocations: 15.92 kB / 1.308 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 3.58e-05/0.3399, allocations: 0 / 1.308 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.395e-05/0.3399, allocations: 3.984 kB / 1.308 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.623e-05/0.3399, allocations: 8 kB / 1.308 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.088e-05/0.34, allocations: 3.938 kB / 1.308 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.307e-06/0.34, allocations: 0 / 1.308 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.3401, allocations: 19.97 kB / 1.308 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.094e-05/0.3401, allocations: 8 kB / 1.308 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.3401, allocations: 0 / 1.308 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.19e-05/0.3402, allocations: 11.98 kB / 1.308 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3402, allocations: 0 / 1.308 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.153e-06/0.3402, allocations: 0 / 1.308 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.3402, allocations: 0 / 1.308 GB, free: 1.074 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.0002488/0.3404, allocations: 242.4 kB / 1.308 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.3405, allocations: 12.95 kB / 1.308 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002546/0.3407, allocations: 20.91 kB / 1.308 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.188e-05/0.3408, allocations: 106.5 kB / 1.308 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.3408, allocations: 4.375 kB / 1.308 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.705e-06/0.3408, allocations: 384 / 1.308 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.341, allocations: 34.25 kB / 1.308 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.341, allocations: 192 / 1.308 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.341, allocations: 7.922 kB / 1.308 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.341, allocations: 0 / 1.308 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.105e-05/0.3411, allocations: 11.94 kB / 1.308 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001319/0.3412, allocations: 120.8 kB / 1.309 GB, free: 432 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.977e-05/0.3413, allocations: 22.61 kB / 1.309 GB, free: 400 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.597e-05/0.3413, allocations: 12.91 kB / 1.309 GB, free: 384 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.3414, allocations: 0 / 1.309 GB, free: 384 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.3414, allocations: 34.56 kB / 1.309 GB, free: 340 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.3414, allocations: 3.938 kB / 1.309 GB, free: 336 kB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0002379/0.3416, allocations: 53.55 kB / 1.309 GB, free: 276 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.3417, allocations: 51.41 kB / 1.309 GB, free: 212 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.753e-05/0.3417, allocations: 89.86 kB / 1.309 GB, free: 112 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.3417, allocations: 25.7 kB / 1.309 GB, free: 80 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.955e-05/0.3418, allocations: 84.14 kB / 1.309 GB, free: 15.99 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.3418, allocations: 128 / 1.309 GB, free: 15.99 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.3418, allocations: 17.72 kB / 1.309 GB, free: 15.97 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.342, allocations: 314.8 kB / 1.309 GB, free: 15.65 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.994e-05/0.342, allocations: 4 kB / 1.309 GB, free: 15.65 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.232e-05/0.3421, allocations: 8 kB / 1.309 GB, free: 15.64 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.174e-05/0.3422, allocations: 16.78 kB / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3422, allocations: 4.062 kB / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001362/0.3423, allocations: 53.61 kB / 1.309 GB, free: 15.56 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.3423, allocations: 5.406 kB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3423, allocations: 0 / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3423, allocations: 3.938 kB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.887e-05/0.3424, allocations: 4 kB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3424, allocations: 0 / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.518e-05/0.3424, allocations: 3.984 kB / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.3424, allocations: 4 kB / 1.309 GB, free: 15.54 MB / 1.014 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.612e-05/0.3425, allocations: 113.8 kB / 1.309 GB, free: 15.42 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-06/0.3425, allocations: 0 / 1.309 GB, free: 15.42 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.572e-05/0.3426, allocations: 6.938 kB / 1.309 GB, free: 15.41 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3426, allocations: 3.984 kB / 1.309 GB, free: 15.41 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3426, allocations: 0 / 1.309 GB, free: 15.41 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.3426, allocations: 0 / 1.309 GB, free: 15.41 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.486e-05/0.3427, allocations: 124.8 kB / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3427, allocations: 0 / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.813e-05/0.3427, allocations: 8 kB / 1.31 GB, free: 15.24 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3427, allocations: 0 / 1.31 GB, free: 15.24 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.3427, allocations: 3.938 kB / 1.31 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3427, allocations: 0 / 1.31 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3427, allocations: 3.938 kB / 1.31 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.3429, allocations: 65.11 kB / 1.31 GB, free: 15.15 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.124e-06/0.3429, allocations: 3.938 kB / 1.31 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.3429, allocations: 11.91 kB / 1.31 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.777e-05/0.3429, allocations: 8 kB / 1.31 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-06/0.3429, allocations: 0 / 1.31 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.343, allocations: 3.984 kB / 1.31 GB, free: 15.12 MB / 1.014 GB Notification: Performance of sorting global known variables: time 2.99e-05/0.343, allocations: 75.28 kB / 1.31 GB, free: 15.05 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.343, allocations: 0 / 1.31 GB, free: 15.05 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001742/0.3432, allocations: 0 / 1.31 GB, free: 15.05 MB / 1.014 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.0001189/0.3433, allocations: 96.05 kB / 1.31 GB, free: 14.94 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001373/0.3434, allocations: 19.92 kB / 1.31 GB, free: 14.92 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3434, allocations: 0 / 1.31 GB, free: 14.92 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.663e-05/0.3435, allocations: 7.984 kB / 1.31 GB, free: 14.91 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.3436, allocations: 3.938 kB / 1.31 GB, free: 14.91 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002574/0.3439, allocations: 88.86 kB / 1.31 GB, free: 14.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.3441, allocations: 0.673 MB / 1.311 GB, free: 14.1 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.733e-05/0.3442, allocations: 4 kB / 1.311 GB, free: 14.09 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.3442, allocations: 7.438 kB / 1.311 GB, free: 14.09 MB / 1.014 GB Notification: Performance of SimCode: time 3.41e-07/0.3442, allocations: 3.938 kB / 1.311 GB, free: 14.08 MB / 1.014 GB Notification: Performance of Templates: time 0.002124/0.3463, allocations: 230.5 kB / 1.311 GB, free: 13.86 MB / 1.014 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: 8.70557854976505]