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: 107.8 kB / 19.71 MB, free: 2.145 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.001539/0.001539, allocations: 219 kB / 23.01 MB, free: 4.969 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.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.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 3.443/3.443, allocations: 0.49 GB / 0.7959 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 176] 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.002107/0.002107, allocations: 75.7 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4467/0.4488, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001832/0.4506, allocations: 0.5888 MB / 1.328 GB, free: 436 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002884/0.4509, allocations: 48.2 kB / 1.328 GB, free: 388 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.184e-05/0.4509, allocations: 0 / 1.328 GB, free: 388 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.372e-05/0.451, allocations: 0 / 1.328 GB, free: 388 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.755e-06/0.451, allocations: 0 / 1.328 GB, free: 388 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.4512, allocations: 11.92 kB / 1.328 GB, free: 376 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.118e-05/0.4513, allocations: 12 kB / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.467e-05/0.4513, allocations: 0 / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.405e-05/0.4514, allocations: 0 / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.307e-05/0.4514, allocations: 3.938 kB / 1.328 GB, free: 360 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.4514, allocations: 4 kB / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.4515, allocations: 23.97 kB / 1.328 GB, free: 332 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.341e-05/0.4515, allocations: 3.984 kB / 1.328 GB, free: 328 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.338e-05/0.4515, allocations: 3.938 kB / 1.328 GB, free: 324 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.391e-05/0.4516, allocations: 15.98 kB / 1.328 GB, free: 308 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4516, allocations: 0 / 1.328 GB, free: 308 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4516, allocations: 0 / 1.328 GB, free: 308 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.4516, allocations: 0 / 1.328 GB, free: 308 kB / 1.014 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.0003293/0.452, allocations: 238.4 kB / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.452, allocations: 8.031 kB / 1.328 GB, free: 28 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002783/0.4523, allocations: 28.89 kB / 1.328 GB, free: 0 / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.4524, allocations: 106.5 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.4524, allocations: 384 / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.4524, allocations: 384 / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.4526, allocations: 38.19 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.4526, allocations: 192 / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.4526, allocations: 3.938 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.4526, allocations: 4 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.941e-05/0.4527, allocations: 11.98 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001341/0.4528, allocations: 93.33 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.732e-05/0.4529, allocations: 26.59 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.869e-05/0.4529, allocations: 16.86 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.453, allocations: 0 / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.453, allocations: 34.56 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.453, allocations: 0 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0002561/0.4533, allocations: 53.7 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.4533, allocations: 51.41 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.483e-05/0.4533, allocations: 89.86 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.4534, allocations: 25.7 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.275e-05/0.4534, allocations: 84.14 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.4534, allocations: 3.953 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.4535, allocations: 21.64 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.4537, allocations: 310.8 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.793e-05/0.4537, allocations: 4 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.741e-05/0.4538, allocations: 15.95 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.032e-05/0.4538, allocations: 12.84 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4538, allocations: 0 / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001277/0.454, allocations: 45.69 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.454, allocations: 6.344 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.454, allocations: 0 / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.454, allocations: 0 / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.092e-05/0.4541, allocations: 8.031 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.4541, allocations: 11.92 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.563e-05/0.4541, allocations: 4 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.4541, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 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.476e-05/0.4542, allocations: 106.4 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.625e-06/0.4542, allocations: 3.938 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.746e-05/0.4543, allocations: 3 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4543, allocations: 0 / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.4543, allocations: 7.938 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-06/0.4543, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.4543, allocations: 7.984 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.359e-05/0.4543, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/0.4543, allocations: 4 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001864/0.4545, allocations: 121 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002436/0.4548, allocations: 218.7 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.065e-05/0.4548, allocations: 7.984 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.742e-05/0.4549, allocations: 79.34 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of Backend: time 3.11e-07/0.4549, allocations: 0 / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000431/0.4553, allocations: 94.3 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of SimCode: time 0.0004201/0.4557, allocations: 0.5214 MB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of Templates: time 0.002983/0.4587, allocations: 475.3 kB / 1.331 GB, free: 13.08 MB / 1.029 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/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: 9.514963249006541]