Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001927/0.001927, allocations: 84.73 kB / 19.44 MB, free: 352 kB / 13.93 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.002523/0.002523, allocations: 157.7 kB / 22.75 MB, free: 1.68 MB / 18.57 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.473/1.473, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.275/3.275, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.RegStep") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.8776 GB, free: 6.453 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.94e-05, allocations: 4.984 kB / 0.8776 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001677/0.001706, allocations: 0.5966 MB / 0.8782 GB, free: 5.875 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002507/0.001957, allocations: 52.72 kB / 0.8783 GB, free: 5.824 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.659e-05/0.001973, allocations: 1.344 kB / 0.8783 GB, free: 5.824 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.1e-05/0.001984, allocations: 0 / 0.8783 GB, free: 5.824 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.279e-06/0.00199, allocations: 0 / 0.8783 GB, free: 5.824 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.002262, allocations: 17.42 kB / 0.8783 GB, free: 5.809 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.639e-05/0.002308, allocations: 7.938 kB / 0.8783 GB, free: 5.801 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.626e-05/0.002344, allocations: 1.312 kB / 0.8783 GB, free: 5.801 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.058e-05/0.002365, allocations: 0 / 0.8783 GB, free: 5.801 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.321e-05/0.002388, allocations: 0.6562 kB / 0.8783 GB, free: 5.801 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.002403, allocations: 4 kB / 0.8783 GB, free: 5.797 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.002503, allocations: 22.19 kB / 0.8783 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.002515, allocations: 0 / 0.8783 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.861e-05/0.002534, allocations: 0 / 0.8783 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.002635, allocations: 29.27 kB / 0.8784 GB, free: 5.75 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.002638, allocations: 1.406 kB / 0.8784 GB, free: 5.75 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.12e-07/0.002638, allocations: 0 / 0.8784 GB, free: 5.75 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.002643, allocations: 0 / 0.8784 GB, free: 5.75 MB / 0.8386 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.0003047/0.002947, allocations: 234.4 kB / 0.8786 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.002987, allocations: 15.19 kB / 0.8786 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002996/0.003287, allocations: 16.91 kB / 0.8786 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.939e-05/0.003386, allocations: 101.8 kB / 0.8787 GB, free: 5.336 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.003401, allocations: 8.359 kB / 0.8787 GB, free: 5.328 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-06/0.003408, allocations: 384 / 0.8787 GB, free: 5.328 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.003547, allocations: 38.58 kB / 0.8788 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.003556, allocations: 0.7812 kB / 0.8788 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-06/0.003564, allocations: 2.031 kB / 0.8788 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.003568, allocations: 4.312 kB / 0.8788 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.799e-05/0.003666, allocations: 19.86 kB / 0.8788 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.003804, allocations: 93.33 kB / 0.8789 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.83e-05/0.003892, allocations: 19.95 kB / 0.8789 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.052e-05/0.003953, allocations: 12.91 kB / 0.8789 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.003972, allocations: 4 kB / 0.8789 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.004008, allocations: 34.56 kB / 0.8789 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.004009, allocations: 0 / 0.8789 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0002771/0.004286, allocations: 49.61 kB / 0.879 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.004333, allocations: 51.41 kB / 0.879 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.91e-05/0.004392, allocations: 93.86 kB / 0.8791 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.004411, allocations: 25.7 kB / 0.8791 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.278e-05/0.004453, allocations: 80.14 kB / 0.8792 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.00448, allocations: 8.078 kB / 0.8792 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.004514, allocations: 13.72 kB / 0.8792 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.004692, allocations: 318.8 kB / 0.8795 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.479e-05/0.004747, allocations: 7.984 kB / 0.8796 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.86e-05/0.004785, allocations: 0 / 0.8796 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.004894, allocations: 20.78 kB / 0.8796 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.004896, allocations: 0 / 0.8796 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001672/0.005063, allocations: 53.73 kB / 0.8796 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.005076, allocations: 4 kB / 0.8796 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.005081, allocations: 0 / 0.8796 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.005099, allocations: 0 / 0.8796 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.204e-05/0.005171, allocations: 4 kB / 0.8796 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.005176, allocations: 0 / 0.8796 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.994e-05/0.005216, allocations: 7.922 kB / 0.8796 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.005222, allocations: 0 / 0.8796 GB, free: 4.266 MB / 0.8386 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 9.006e-05/0.005312, allocations: 113.8 kB / 0.8797 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.005321, allocations: 4.031 kB / 0.8798 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.858e-05/0.00535, allocations: 3 kB / 0.8798 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.005352, allocations: 0 / 0.8798 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.005355, allocations: 0 / 0.8798 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.00536, allocations: 4 kB / 0.8798 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.79e-05/0.005458, allocations: 97.27 kB / 0.8799 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.005459, allocations: 0 / 0.8799 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.991e-05/0.005509, allocations: 11.92 kB / 0.8799 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.005511, allocations: 3.938 kB / 0.8799 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.005517, allocations: 0 / 0.8799 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.005518, allocations: 4 kB / 0.8799 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.005519, allocations: 0 / 0.8799 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.005699, allocations: 77.03 kB / 0.8799 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-06/0.005703, allocations: 0 / 0.8799 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.005714, allocations: 0 / 0.8799 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.303e-05/0.005747, allocations: 4 kB / 0.8799 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.092e-05/0.005758, allocations: 0 / 0.8799 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.005761, allocations: 0 / 0.8799 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.205e-05/0.005803, allocations: 75.28 kB / 0.88 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.1e-08/0.005803, allocations: 0 / 0.88 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001876/0.00599, allocations: 8.031 kB / 0.88 GB, free: 3.809 MB / 0.8386 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.0001186/0.006109, allocations: 99.17 kB / 0.8801 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001409/0.00625, allocations: 15.92 kB / 0.8801 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.006251, allocations: 0 / 0.8801 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.826e-05/0.0063, allocations: 4 kB / 0.8801 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.006439, allocations: 10.66 kB / 0.8802 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.006716, allocations: 86.41 kB / 0.8802 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.109e-05/0.006787, allocations: 59.34 kB / 0.8803 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.937e-05/0.006816, allocations: 0 / 0.8803 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.006847, allocations: 8.5 kB / 0.8803 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of SimCode: time 4e-07/0.006847, allocations: 0 / 0.8803 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of Templates: time 0.00237/0.009217, allocations: 261.8 kB / 0.8805 GB, free: 3.227 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.007269807043485]