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.001808/0.001808, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002291/0.002291, allocations: 209.5 kB / 22.25 MB, free: 5.262 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 7.777 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.774/2.774, allocations: 475.9 MB / 0.7699 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 177] 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.00213/0.00213, allocations: 67.77 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3104, allocations: 170 MB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001735/0.3122, allocations: 0.5935 MB / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002735/0.3124, allocations: 47.86 kB / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.913e-05/0.3124, allocations: 0 / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.014e-05/0.3125, allocations: 7.938 kB / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.342e-06/0.3125, allocations: 0 / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.3128, allocations: 11.98 kB / 1.284 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.12e-05/0.3128, allocations: 0 / 1.284 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/0.3129, allocations: 0 / 1.284 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.568e-05/0.3129, allocations: 4 kB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.225e-05/0.3129, allocations: 4 kB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.3129, allocations: 0 / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.313, allocations: 19.97 kB / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.313, allocations: 0 / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.813e-05/0.3131, allocations: 11.98 kB / 1.284 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.449e-05/0.3131, allocations: 11.92 kB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3132, allocations: 3.938 kB / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3132, allocations: 0 / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.3132, allocations: 0 / 1.284 GB, free: 11.2 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.0003365/0.3135, allocations: 246.4 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3135, allocations: 8.031 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002721/0.3138, allocations: 16.91 kB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.3139, allocations: 102.5 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.3139, allocations: 8.375 kB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.3139, allocations: 384 / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.3141, allocations: 34.25 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.3141, allocations: 3.938 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.3141, allocations: 0 / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.3141, allocations: 0 / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.031e-05/0.3142, allocations: 11.98 kB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000135/0.3143, allocations: 97.33 kB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.823e-05/0.3144, allocations: 30.53 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.096e-05/0.3145, allocations: 8.922 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.3145, allocations: 3.984 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.3145, allocations: 38.59 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.3145, allocations: 0 / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.000235/0.3148, allocations: 53.55 kB / 1.284 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.3148, allocations: 51.41 kB / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.75e-05/0.3149, allocations: 93.84 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.3149, allocations: 33.83 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.3149, allocations: 80.14 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.315, allocations: 0 / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.315, allocations: 13.72 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.3152, allocations: 318.8 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.031e-05/0.3153, allocations: 3.984 kB / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.882e-05/0.3153, allocations: 4 kB / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.937e-05/0.3154, allocations: 20.78 kB / 1.285 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3154, allocations: 4.062 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001322/0.3155, allocations: 45.58 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.3156, allocations: 8 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.3156, allocations: 0 / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.3156, allocations: 3.938 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.3157, allocations: 7.984 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.3157, allocations: 0 / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.461e-05/0.3157, allocations: 4 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.3157, allocations: 32 / 1.285 GB, free: 9.703 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 0.0001286/0.3159, allocations: 117.8 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.364e-06/0.3159, allocations: 0 / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.007e-05/0.3159, allocations: 6.984 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3159, allocations: 3.938 kB / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3159, allocations: 0 / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3159, allocations: 0 / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.675e-05/0.316, allocations: 97.33 kB / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.316, allocations: 0 / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.951e-05/0.3161, allocations: 0 / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3161, allocations: 11.98 kB / 1.285 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.3161, allocations: 0 / 1.285 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.3161, allocations: 0 / 1.285 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.3161, allocations: 3.938 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.3163, allocations: 69.06 kB / 1.285 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.395e-06/0.3163, allocations: 3.938 kB / 1.285 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.3163, allocations: 0 / 1.285 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.536e-05/0.3163, allocations: 7.984 kB / 1.285 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.911e-05/0.3163, allocations: 3.938 kB / 1.285 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.3163, allocations: 4.031 kB / 1.285 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.459e-05/0.3164, allocations: 75.28 kB / 1.285 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3164, allocations: 3.938 kB / 1.285 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001795/0.3166, allocations: 0 / 1.285 GB, free: 9.246 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.0001515/0.3167, allocations: 95.25 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001495/0.3169, allocations: 11.98 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3169, allocations: 0 / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.297e-05/0.3169, allocations: 19.98 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.3171, allocations: 3.938 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.3174, allocations: 91.11 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.861e-05/0.3174, allocations: 51.36 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.412e-05/0.3174, allocations: 4 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.033e-05/0.3175, allocations: 11.5 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of SimCode: time 8.32e-07/0.3175, allocations: 0 / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of Templates: time 0.003051/0.3205, allocations: 220 kB / 1.286 GB, free: 8.695 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/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.714007096365094]