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.0009508/0.0009508, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.00103/0.00103, allocations: 181 kB / 24.09 MB, free: 420 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 1.044/1.044, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.825/1.825, allocations: 359 MB / 0.6055 GB, free: 10.89 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.864e-06/1.864e-06, allocations: 0 / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.93e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001904/0.001933, allocations: 0.6029 MB / 0.7882 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002945/0.002228, allocations: 43.81 kB / 0.7882 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.493e-05/0.002253, allocations: 0 / 0.7882 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.015e-05/0.002273, allocations: 0.5625 kB / 0.7882 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.065e-06/0.002281, allocations: 0 / 0.7882 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.002546, allocations: 16.8 kB / 0.7883 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.338e-05/0.00259, allocations: 0.9062 kB / 0.7883 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.584e-05/0.002636, allocations: 3.984 kB / 0.7883 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.473e-05/0.00267, allocations: 7.984 kB / 0.7883 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.712e-05/0.002697, allocations: 0.6562 kB / 0.7883 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.002711, allocations: 1.594 kB / 0.7883 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.002826, allocations: 15.98 kB / 0.7883 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.002838, allocations: 4 kB / 0.7883 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.177e-05/0.00285, allocations: 3.938 kB / 0.7883 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.966e-05/0.00295, allocations: 19.91 kB / 0.7883 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.002955, allocations: 5.531 kB / 0.7883 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.112e-06/0.002956, allocations: 0 / 0.7883 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.00296, allocations: 0 / 0.7883 GB, free: 11.45 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.000292/0.003252, allocations: 336.4 kB / 0.7886 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.003304, allocations: 13.61 kB / 0.7887 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002269/0.003531, allocations: 12.92 kB / 0.7887 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.64e-05/0.003607, allocations: 112.6 kB / 0.7888 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.00362, allocations: 7.812 kB / 0.7888 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-06/0.003626, allocations: 384 / 0.7888 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.003748, allocations: 46.95 kB / 0.7888 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.003755, allocations: 192 / 0.7888 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.003762, allocations: 384 / 0.7888 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.003768, allocations: 384 / 0.7888 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.166e-05/0.00379, allocations: 11.86 kB / 0.7888 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001176/0.003908, allocations: 93.27 kB / 0.7889 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.653e-05/0.003954, allocations: 23.75 kB / 0.7889 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.846e-05/0.003973, allocations: 12.38 kB / 0.789 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.004004, allocations: 0.7188 kB / 0.789 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.004033, allocations: 33.39 kB / 0.789 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 3.367e-06/0.004037, allocations: 5.234 kB / 0.789 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.000147/0.004184, allocations: 45.62 kB / 0.789 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.004219, allocations: 52.03 kB / 0.7891 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.788e-05/0.004267, allocations: 142.2 kB / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.004278, allocations: 26.83 kB / 0.7893 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.695e-05/0.004315, allocations: 126.9 kB / 0.7894 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.004347, allocations: 0 / 0.7894 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-05/0.004381, allocations: 20.16 kB / 0.7894 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.004529, allocations: 496.1 kB / 0.7899 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.755e-05/0.004546, allocations: 0.6875 kB / 0.7899 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.1e-05/0.004557, allocations: 5.25 kB / 0.7899 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.921e-05/0.004597, allocations: 11.67 kB / 0.7899 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.0046, allocations: 4.688 kB / 0.7899 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.056e-05/0.00467, allocations: 42.89 kB / 0.7899 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.004684, allocations: 4 kB / 0.7899 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.004689, allocations: 0 / 0.7899 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.004702, allocations: 2.219 kB / 0.7899 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.622e-05/0.004768, allocations: 4 kB / 0.7899 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-06/0.004771, allocations: 0 / 0.7899 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.99e-05/0.004791, allocations: 4.328 kB / 0.7899 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.004797, allocations: 3.938 kB / 0.7899 GB, free: 9.605 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.966e-05/0.004877, allocations: 160.5 kB / 0.7901 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.196e-06/0.004885, allocations: 2.781 kB / 0.7901 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.401e-05/0.004919, allocations: 3 kB / 0.7901 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.00492, allocations: 0 / 0.7901 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.004922, allocations: 0 / 0.7901 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.004924, allocations: 0 / 0.7901 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.475e-05/0.004999, allocations: 105.1 kB / 0.7902 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.005001, allocations: 0 / 0.7902 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.007e-05/0.005031, allocations: 5.453 kB / 0.7902 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.005035, allocations: 4 kB / 0.7902 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-06/0.005039, allocations: 0 / 0.7902 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.00504, allocations: 0 / 0.7902 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.005042, allocations: 0.5 kB / 0.7902 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.568e-05/0.005137, allocations: 86.23 kB / 0.7903 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-06/0.005143, allocations: 0 / 0.7903 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.408e-06/0.005152, allocations: 0 / 0.7903 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.64e-05/0.005168, allocations: 0 / 0.7903 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/0.005183, allocations: 4.625 kB / 0.7903 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.005187, allocations: 0 / 0.7903 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.621e-05/0.005223, allocations: 121.8 kB / 0.7904 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.005223, allocations: 0 / 0.7904 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001863/0.005409, allocations: 0 / 0.7904 GB, free: 9.07 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 0.0001294/0.005539, allocations: 99.23 kB / 0.7905 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.925e-05/0.005618, allocations: 16.66 kB / 0.7905 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.00562, allocations: 0 / 0.7905 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-05/0.005631, allocations: 8.812 kB / 0.7905 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.005776, allocations: 7.938 kB / 0.7905 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002277/0.006004, allocations: 92.84 kB / 0.7906 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.323e-05/0.006037, allocations: 52.2 kB / 0.7907 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.673e-05/0.006064, allocations: 1.906 kB / 0.7907 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.006287, allocations: 70.2 kB / 0.7908 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of SimCode: time 1.192e-06/0.006288, allocations: 0 / 0.7908 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of Templates: time 0.001976/0.008264, allocations: 283 kB / 0.791 GB, free: 8.398 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.006560008041561]