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.001312/0.001312, allocations: 79.5 kB / 19.76 MB, free: 2.031 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.001413/0.001413, allocations: 159 kB / 23.01 MB, free: 4.945 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.414/1.414, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.847/2.847, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002227/0.002227, allocations: 67.91 kB / 0.982 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8035/0.8058, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0015/0.8073, allocations: 0.5865 MB / 1.155 GB, free: 32.96 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0002395/0.8075, allocations: 43.7 kB / 1.155 GB, free: 32.94 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.489e-05/0.8075, allocations: 0 / 1.155 GB, free: 32.94 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.61e-05/0.8075, allocations: 4 kB / 1.155 GB, free: 32.94 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.932e-06/0.8075, allocations: 0 / 1.155 GB, free: 32.94 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.8078, allocations: 24.84 kB / 1.155 GB, free: 32.92 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 4.558e-05/0.8078, allocations: 2.812 kB / 1.155 GB, free: 32.92 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.364e-05/0.8079, allocations: 0 / 1.155 GB, free: 32.92 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.343e-05/0.8079, allocations: 0 / 1.155 GB, free: 32.92 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.232e-05/0.8079, allocations: 6.781 kB / 1.155 GB, free: 32.92 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.8079, allocations: 0 / 1.155 GB, free: 32.92 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.549e-05/0.808, allocations: 19.44 kB / 1.155 GB, free: 32.91 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.808, allocations: 2.844 kB / 1.155 GB, free: 32.91 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.284e-05/0.808, allocations: 4 kB / 1.155 GB, free: 32.91 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 7.816e-05/0.8081, allocations: 27.86 kB / 1.155 GB, free: 32.9 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.8081, allocations: 0 / 1.155 GB, free: 32.9 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8081, allocations: 0 / 1.155 GB, free: 32.9 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.8081, allocations: 0 / 1.155 GB, free: 32.9 MB / 1.076 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.0001971/0.8083, allocations: 231.7 kB / 1.155 GB, free: 32.64 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.8084, allocations: 8.656 kB / 1.155 GB, free: 32.64 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002351/0.8086, allocations: 20.78 kB / 1.155 GB, free: 32.64 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.055e-05/0.8086, allocations: 106.5 kB / 1.155 GB, free: 32.52 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.8087, allocations: 7.125 kB / 1.155 GB, free: 32.51 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.8087, allocations: 384 / 1.155 GB, free: 32.51 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.8088, allocations: 39.78 kB / 1.155 GB, free: 32.48 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.8088, allocations: 192 / 1.155 GB, free: 32.48 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-06/0.8088, allocations: 6.594 kB / 1.155 GB, free: 32.47 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.8088, allocations: 3.984 kB / 1.155 GB, free: 32.47 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.483e-05/0.8089, allocations: 7.922 kB / 1.155 GB, free: 32.47 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.281e-05/0.809, allocations: 99.92 kB / 1.155 GB, free: 32.35 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 7.622e-05/0.8091, allocations: 28.67 kB / 1.155 GB, free: 32.32 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.694e-05/0.8091, allocations: 7.641 kB / 1.155 GB, free: 32.31 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.8091, allocations: 2.656 kB / 1.155 GB, free: 32.31 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.259e-05/0.8091, allocations: 37.97 kB / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.8091, allocations: 3.938 kB / 1.155 GB, free: 32.26 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0002199/0.8094, allocations: 44.06 kB / 1.155 GB, free: 32.23 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.8094, allocations: 56.91 kB / 1.155 GB, free: 32.16 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.593e-05/0.8094, allocations: 89.86 kB / 1.155 GB, free: 32.07 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.204e-06/0.8094, allocations: 29.83 kB / 1.155 GB, free: 32.03 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.226e-05/0.8094, allocations: 84.14 kB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.8094, allocations: 6.547 kB / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/0.8095, allocations: 9.719 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.771e-05/0.8095, allocations: 317.8 kB / 1.156 GB, free: 31.61 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.661e-05/0.8096, allocations: 9.953 kB / 1.156 GB, free: 31.61 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.812e-05/0.8096, allocations: 6.141 kB / 1.156 GB, free: 31.61 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.832e-05/0.8097, allocations: 17.55 kB / 1.156 GB, free: 31.59 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8097, allocations: 4.062 kB / 1.156 GB, free: 31.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001104/0.8098, allocations: 47.61 kB / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.8098, allocations: 5.844 kB / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.8098, allocations: 3.422 kB / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.8098, allocations: 0 / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.573e-05/0.8099, allocations: 7.094 kB / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.8099, allocations: 0 / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.315e-05/0.8099, allocations: 2.75 kB / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.8099, allocations: 7.078 kB / 1.156 GB, free: 31.54 MB / 1.076 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.744e-05/0.81, allocations: 106.9 kB / 1.156 GB, free: 31.43 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-06/0.81, allocations: 2.656 kB / 1.156 GB, free: 31.43 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.602e-05/0.81, allocations: 3 kB / 1.156 GB, free: 31.42 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.81, allocations: 3.938 kB / 1.156 GB, free: 31.42 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.81, allocations: 0 / 1.156 GB, free: 31.42 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.81, allocations: 0 / 1.156 GB, free: 31.42 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.801e-05/0.8101, allocations: 99.34 kB / 1.156 GB, free: 31.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.8101, allocations: 0 / 1.156 GB, free: 31.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.07e-05/0.8101, allocations: 6.844 kB / 1.156 GB, free: 31.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.8101, allocations: 4 kB / 1.156 GB, free: 31.29 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.8101, allocations: 4 kB / 1.156 GB, free: 31.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.8101, allocations: 2.562 kB / 1.156 GB, free: 31.29 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8101, allocations: 3.938 kB / 1.156 GB, free: 31.28 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.8102, allocations: 62.02 kB / 1.156 GB, free: 31.22 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-06/0.8102, allocations: 0 / 1.156 GB, free: 31.22 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.8102, allocations: 9.578 kB / 1.156 GB, free: 31.21 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.058e-05/0.8103, allocations: 0 / 1.156 GB, free: 31.21 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.841e-05/0.8103, allocations: 6.562 kB / 1.156 GB, free: 31.21 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.8103, allocations: 8.031 kB / 1.156 GB, free: 31.2 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.117e-05/0.8103, allocations: 75.28 kB / 1.156 GB, free: 31.13 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.8103, allocations: 0 / 1.156 GB, free: 31.13 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001805/0.8105, allocations: 2.594 kB / 1.156 GB, free: 31.13 MB / 1.076 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 9.058e-05/0.8106, allocations: 96.53 kB / 1.156 GB, free: 31.04 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001415/0.8107, allocations: 14.81 kB / 1.156 GB, free: 31.04 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.8107, allocations: 0 / 1.156 GB, free: 31.04 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.616e-05/0.8108, allocations: 10.23 kB / 1.156 GB, free: 31.03 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.8109, allocations: 2.812 kB / 1.156 GB, free: 31.03 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002162/0.8111, allocations: 87.86 kB / 1.157 GB, free: 30.93 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.581e-05/0.8111, allocations: 57.3 kB / 1.157 GB, free: 30.86 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.784e-05/0.8112, allocations: 6.531 kB / 1.157 GB, free: 30.86 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/0.8112, allocations: 12.56 kB / 1.157 GB, free: 30.84 MB / 1.076 GB Notification: Performance of SimCode: time 3.3e-07/0.8112, allocations: 0 / 1.157 GB, free: 30.84 MB / 1.076 GB Notification: Performance of Templates: time 0.00218/0.8134, allocations: 242.4 kB / 1.157 GB, free: 30.78 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.482855687034316]