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.001381/0.001381, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001575/0.001575, allocations: 216.4 kB / 23.01 MB, free: 4.602 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.862/2.862, allocations: 476.7 MB / 0.7714 GB, free: 4.305 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 69.84 kB / 1.119 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.416, allocations: 170 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001914/0.4179, allocations: 0.5962 MB / 1.285 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002952/0.4182, allocations: 47.86 kB / 1.285 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.57e-05/0.4182, allocations: 0 / 1.285 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.909e-05/0.4183, allocations: 0 / 1.285 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.715e-06/0.4183, allocations: 0 / 1.285 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.4185, allocations: 19.92 kB / 1.285 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.744e-05/0.4186, allocations: 0 / 1.285 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.208e-05/0.4186, allocations: 3.984 kB / 1.285 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.324e-05/0.4186, allocations: 0 / 1.285 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.881e-05/0.4187, allocations: 7.984 kB / 1.285 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.4187, allocations: 0 / 1.285 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.4188, allocations: 19.98 kB / 1.285 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.4188, allocations: 4 kB / 1.285 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.953e-05/0.4188, allocations: 4 kB / 1.285 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.4189, allocations: 19.84 kB / 1.285 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.4189, allocations: 4 kB / 1.285 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.913e-06/0.4189, allocations: 0 / 1.285 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.4189, allocations: 0 / 1.285 GB, free: 10.53 MB / 0.9825 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.0003225/0.4193, allocations: 234.5 kB / 1.286 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.4193, allocations: 12.03 kB / 1.286 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002645/0.4196, allocations: 24.84 kB / 1.286 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.349e-05/0.4197, allocations: 106.5 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.4197, allocations: 384 / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.4197, allocations: 4.375 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.4198, allocations: 38.25 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.4199, allocations: 192 / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.4199, allocations: 3.938 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.984e-06/0.4199, allocations: 0 / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.185e-05/0.42, allocations: 11.98 kB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.4201, allocations: 120.8 kB / 1.286 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.719e-05/0.4202, allocations: 22.55 kB / 1.286 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.49e-05/0.4203, allocations: 8.844 kB / 1.286 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.4203, allocations: 8.062 kB / 1.286 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.4203, allocations: 34.66 kB / 1.286 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/0.4203, allocations: 0 / 1.286 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0002491/0.4206, allocations: 49.61 kB / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.4206, allocations: 51.41 kB / 1.286 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.591e-05/0.4207, allocations: 89.86 kB / 1.286 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.4207, allocations: 25.7 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.4207, allocations: 80.14 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.4208, allocations: 8.016 kB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.4208, allocations: 25.72 kB / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.4209, allocations: 310.8 kB / 1.287 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.215e-05/0.421, allocations: 7.984 kB / 1.287 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.434e-05/0.421, allocations: 0 / 1.287 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.632e-05/0.4211, allocations: 16.84 kB / 1.287 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4211, allocations: 4.062 kB / 1.287 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001284/0.4212, allocations: 49.61 kB / 1.287 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.4213, allocations: 4 kB / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4213, allocations: 0 / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.4213, allocations: 3.938 kB / 1.287 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.646e-05/0.4214, allocations: 4 kB / 1.287 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.4214, allocations: 3.938 kB / 1.287 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.667e-05/0.4214, allocations: 7.938 kB / 1.287 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.4214, allocations: 7.984 kB / 1.287 GB, free: 8.988 MB / 0.9825 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 8.52e-05/0.4215, allocations: 113.9 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-06/0.4215, allocations: 0 / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.206e-05/0.4215, allocations: 10.92 kB / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.4215, allocations: 0 / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4216, allocations: 0 / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.4216, allocations: 0 / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.4217, allocations: 120.8 kB / 1.287 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.4217, allocations: 3.938 kB / 1.287 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.395e-05/0.4217, allocations: 8 kB / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.4217, allocations: 0 / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.4217, allocations: 3.938 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.4217, allocations: 0 / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.4217, allocations: 0 / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.4219, allocations: 69.11 kB / 1.287 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-06/0.4219, allocations: 0 / 1.287 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.4219, allocations: 11.91 kB / 1.287 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.098e-05/0.4219, allocations: 0 / 1.287 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.469e-05/0.4219, allocations: 4 kB / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.4219, allocations: 0 / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.545e-05/0.422, allocations: 75.28 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5e-08/0.422, allocations: 0 / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001744/0.4221, allocations: 0 / 1.287 GB, free: 8.508 MB / 0.9825 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.0001368/0.4223, allocations: 103.2 kB / 1.287 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001461/0.4224, allocations: 15.98 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4224, allocations: 0 / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.068e-05/0.4225, allocations: 4 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.4226, allocations: 2.5 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002886/0.4229, allocations: 114.5 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.4233, allocations: 0.6807 MB / 1.288 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.4233, allocations: 15.44 kB / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.4233, allocations: 0 / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of Templates: time 0.00261/0.4259, allocations: 387.7 kB / 1.288 GB, free: 7.129 MB / 0.9825 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/jenkins1/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: 11.578334327990888]