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.001356/0.001356, allocations: 71.75 kB / 20.97 MB, free: 3.574 MB / 18.57 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.001436/0.001436, allocations: 169 kB / 24.28 MB, free: 276 kB / 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 0.9688/0.9688, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.827/1.827, allocations: 359 MB / 0.6055 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.7871 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.948e-05/2.09e-05, allocations: 6.25 kB / 0.7872 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001191/0.001212, allocations: 0.5968 MB / 0.7877 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002349/0.001447, allocations: 51.73 kB / 0.7878 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.094e-05/0.001468, allocations: 1.094 kB / 0.7878 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.001485, allocations: 4 kB / 0.7878 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.092e-06/0.001491, allocations: 0 / 0.7878 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.001751, allocations: 17.17 kB / 0.7878 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.128e-05/0.001803, allocations: 0 / 0.7878 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.195e-05/0.001844, allocations: 5.531 kB / 0.7878 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.485e-05/0.001869, allocations: 0 / 0.7878 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.793e-05/0.001897, allocations: 0 / 0.7878 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.001912, allocations: 0 / 0.7878 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.002014, allocations: 23.97 kB / 0.7878 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.00203, allocations: 5.047 kB / 0.7878 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.613e-05/0.002046, allocations: 0 / 0.7878 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.185e-05/0.002138, allocations: 20.55 kB / 0.7879 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.00214, allocations: 0 / 0.7879 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.31e-07/0.002141, allocations: 1.406 kB / 0.7879 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.002145, allocations: 0 / 0.7879 GB, free: 12.02 MB / 0.7448 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.0002473/0.002392, allocations: 340.4 kB / 0.7882 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.002429, allocations: 8.031 kB / 0.7882 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.002631, allocations: 13.95 kB / 0.7882 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.881e-05/0.0027, allocations: 113.8 kB / 0.7883 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.002711, allocations: 384 / 0.7883 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.002721, allocations: 8.297 kB / 0.7883 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.002832, allocations: 48.33 kB / 0.7884 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.002838, allocations: 192 / 0.7884 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.002846, allocations: 4.312 kB / 0.7884 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.002854, allocations: 384 / 0.7884 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.883e-05/0.002873, allocations: 10.81 kB / 0.7884 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.109e-05/0.002964, allocations: 108.6 kB / 0.7885 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.583e-05/0.003, allocations: 23.06 kB / 0.7885 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.599e-05/0.003016, allocations: 15.72 kB / 0.7885 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.00303, allocations: 0 / 0.7885 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.00305, allocations: 37.38 kB / 0.7886 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.003051, allocations: 0.7188 kB / 0.7886 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001244/0.003175, allocations: 39.36 kB / 0.7886 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.003203, allocations: 51.41 kB / 0.7886 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.664e-05/0.003239, allocations: 142.2 kB / 0.7888 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.003248, allocations: 25.7 kB / 0.7888 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.572e-05/0.003273, allocations: 128.6 kB / 0.7889 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.003299, allocations: 0 / 0.7889 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.003328, allocations: 23.36 kB / 0.789 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.003431, allocations: 496.1 kB / 0.7894 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.003443, allocations: 3.938 kB / 0.7894 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.915e-06/0.003451, allocations: 5.188 kB / 0.7894 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.35e-05/0.003485, allocations: 13.28 kB / 0.7894 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.003488, allocations: 4 kB / 0.7895 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.343e-05/0.003542, allocations: 29.7 kB / 0.7895 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.003556, allocations: 9.766 kB / 0.7895 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.003561, allocations: 0 / 0.7895 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.003575, allocations: 0 / 0.7895 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.351e-05/0.003649, allocations: 4 kB / 0.7895 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.003654, allocations: 0 / 0.7895 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.021e-05/0.003674, allocations: 9.031 kB / 0.7895 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.003681, allocations: 4 kB / 0.7895 GB, free: 10.15 MB / 0.7448 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 7.096e-05/0.003752, allocations: 153.1 kB / 0.7897 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-06/0.00376, allocations: 0.7188 kB / 0.7897 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.016e-05/0.003791, allocations: 11.52 kB / 0.7897 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.003792, allocations: 0 / 0.7897 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.003795, allocations: 5.312 kB / 0.7897 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.003798, allocations: 0 / 0.7897 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.477e-05/0.003852, allocations: 116.5 kB / 0.7898 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.003853, allocations: 4.469 kB / 0.7898 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.06e-05/0.003874, allocations: 8 kB / 0.7898 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.003875, allocations: 1.375 kB / 0.7898 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.003881, allocations: 0 / 0.7898 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.003883, allocations: 3.984 kB / 0.7898 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.003884, allocations: 1.156 kB / 0.7898 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.057e-05/0.003945, allocations: 68.39 kB / 0.7899 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.465e-06/0.003947, allocations: 1.188 kB / 0.7899 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.757e-06/0.003956, allocations: 7.938 kB / 0.7899 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.103e-05/0.003967, allocations: 7.984 kB / 0.7899 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.234e-05/0.003979, allocations: 0 / 0.7899 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-06/0.003981, allocations: 0.8125 kB / 0.7899 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.79e-05/0.004009, allocations: 119.8 kB / 0.79 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.004009, allocations: 0.9375 kB / 0.79 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001128/0.004122, allocations: 4 kB / 0.79 GB, free: 9.582 MB / 0.7448 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 6.628e-05/0.004188, allocations: 96.53 kB / 0.7901 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.012e-05/0.004258, allocations: 12.5 kB / 0.7901 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.00426, allocations: 0 / 0.7901 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.234e-05/0.004272, allocations: 17.64 kB / 0.7901 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.28e-05/0.004365, allocations: 0 / 0.7901 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001752/0.00454, allocations: 91.89 kB / 0.7902 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.668e-05/0.004567, allocations: 51.36 kB / 0.7903 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.285e-05/0.00459, allocations: 16.16 kB / 0.7903 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.08e-05/0.00461, allocations: 8.5 kB / 0.7903 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/0.004611, allocations: 0 / 0.7903 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of Templates: time 0.001573/0.006184, allocations: 252 kB / 0.7905 GB, free: 8.992 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0817536630202085]