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.001421/0.001421, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001444/0.001444, allocations: 165.4 kB / 23.82 MB, free: 0.7461 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 0.9142/0.9142, allocations: 177.1 MB / 204.2 MB, free: 5.191 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.812/1.812, allocations: 359 MB / 0.6052 GB, free: 11.04 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.263e-06/1.263e-06, allocations: 0 / 0.7871 GB, free: 12.43 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.633e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.43 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001195/0.001221, allocations: 0.5978 MB / 0.7877 GB, free: 11.84 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.0001918/0.001413, allocations: 48.55 kB / 0.7878 GB, free: 11.8 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.411e-05/0.001427, allocations: 4.844 kB / 0.7878 GB, free: 11.79 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 1.415e-05/0.001441, allocations: 0 / 0.7878 GB, free: 11.79 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 5.36e-06/0.001447, allocations: 0 / 0.7878 GB, free: 11.79 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.001644, allocations: 12.55 kB / 0.7878 GB, free: 11.78 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 3.365e-05/0.001677, allocations: 1.406 kB / 0.7878 GB, free: 11.78 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 3.329e-05/0.001711, allocations: 4 kB / 0.7878 GB, free: 11.78 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 2.305e-05/0.001734, allocations: 4 kB / 0.7878 GB, free: 11.77 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 1.803e-05/0.001752, allocations: 5.078 kB / 0.7878 GB, free: 11.77 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.001763, allocations: 0 / 0.7878 GB, free: 11.77 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 9.176e-05/0.001855, allocations: 23.97 kB / 0.7878 GB, free: 11.75 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.00187, allocations: 1.031 kB / 0.7878 GB, free: 11.75 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 1.316e-05/0.001883, allocations: 0 / 0.7878 GB, free: 11.75 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 7.864e-05/0.001962, allocations: 19.92 kB / 0.7879 GB, free: 11.73 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.001964, allocations: 1.188 kB / 0.7879 GB, free: 11.73 MB / 0.7449 GB Notification: Performance of FrontEnd: time 9.32e-07/0.001965, allocations: 0 / 0.7879 GB, free: 11.73 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.001969, allocations: 3.938 kB / 0.7879 GB, free: 11.72 MB / 0.7449 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.0002124/0.002181, allocations: 337.7 kB / 0.7882 GB, free: 11.36 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.002214, allocations: 8.031 kB / 0.7882 GB, free: 11.35 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/0.002396, allocations: 22.44 kB / 0.7882 GB, free: 11.33 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.078e-05/0.002447, allocations: 108.6 kB / 0.7883 GB, free: 11.2 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.002456, allocations: 4.375 kB / 0.7883 GB, free: 11.19 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.002464, allocations: 384 / 0.7883 GB, free: 11.19 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.876e-05/0.002562, allocations: 51.95 kB / 0.7884 GB, free: 11.13 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.002569, allocations: 192 / 0.7884 GB, free: 11.13 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.086e-06/0.002577, allocations: 384 / 0.7884 GB, free: 11.13 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.002582, allocations: 1.969 kB / 0.7884 GB, free: 11.13 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.833e-05/0.002601, allocations: 7.938 kB / 0.7884 GB, free: 11.12 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.68e-05/0.002687, allocations: 104.6 kB / 0.7885 GB, free: 10.99 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 3.448e-05/0.002722, allocations: 28.47 kB / 0.7885 GB, free: 10.95 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.689e-05/0.002739, allocations: 11.67 kB / 0.7885 GB, free: 10.93 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.002755, allocations: 0 / 0.7885 GB, free: 10.93 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.002772, allocations: 44.2 kB / 0.7886 GB, free: 10.88 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.002773, allocations: 0 / 0.7886 GB, free: 10.88 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1): time 0.0001087/0.002882, allocations: 33.77 kB / 0.7886 GB, free: 10.84 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/0.002905, allocations: 51.41 kB / 0.7886 GB, free: 10.78 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.468e-05/0.00294, allocations: 142.2 kB / 0.7888 GB, free: 10.63 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.002948, allocations: 25.7 kB / 0.7888 GB, free: 10.6 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 2.689e-05/0.002975, allocations: 126.9 kB / 0.7889 GB, free: 10.47 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.002998, allocations: 4.703 kB / 0.7889 GB, free: 10.46 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/0.003022, allocations: 23.38 kB / 0.7889 GB, free: 10.43 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.003128, allocations: 497.7 kB / 0.7894 GB, free: 9.938 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.415e-05/0.003142, allocations: 0 / 0.7894 GB, free: 9.938 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.424e-06/0.00315, allocations: 4 kB / 0.7894 GB, free: 9.934 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.93e-05/0.003179, allocations: 16.81 kB / 0.7894 GB, free: 9.914 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.003181, allocations: 0 / 0.7894 GB, free: 9.914 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.927e-05/0.00323, allocations: 35.44 kB / 0.7895 GB, free: 9.875 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.003242, allocations: 4 kB / 0.7895 GB, free: 9.871 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.003246, allocations: 0 / 0.7895 GB, free: 9.871 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.003258, allocations: 4 kB / 0.7895 GB, free: 9.867 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.685e-05/0.003315, allocations: 1.188 kB / 0.7895 GB, free: 9.867 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-06/0.003319, allocations: 3.938 kB / 0.7895 GB, free: 9.863 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.419e-05/0.003333, allocations: 8.281 kB / 0.7895 GB, free: 9.855 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-06/0.003337, allocations: 1.656 kB / 0.7895 GB, free: 9.855 MB / 0.7449 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 6.025e-05/0.003397, allocations: 160.6 kB / 0.7896 GB, free: 9.688 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-06/0.003403, allocations: 0 / 0.7896 GB, free: 9.688 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.003427, allocations: 4.781 kB / 0.7897 GB, free: 9.684 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.003429, allocations: 7.938 kB / 0.7897 GB, free: 9.676 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.003432, allocations: 0 / 0.7897 GB, free: 9.676 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.003434, allocations: 0 / 0.7897 GB, free: 9.676 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.555e-05/0.003489, allocations: 116.5 kB / 0.7898 GB, free: 9.527 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.00349, allocations: 0.8125 kB / 0.7898 GB, free: 9.527 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.829e-05/0.003508, allocations: 7.984 kB / 0.7898 GB, free: 9.52 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.00351, allocations: 0.5312 kB / 0.7898 GB, free: 9.52 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.003515, allocations: 0 / 0.7898 GB, free: 9.52 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.003515, allocations: 0.7188 kB / 0.7898 GB, free: 9.52 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.003518, allocations: 4 kB / 0.7898 GB, free: 9.516 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.648e-05/0.003584, allocations: 74.23 kB / 0.7899 GB, free: 9.422 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-06/0.003588, allocations: 3.984 kB / 0.7899 GB, free: 9.418 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.307e-06/0.003597, allocations: 4 kB / 0.7899 GB, free: 9.414 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.168e-06/0.003606, allocations: 0 / 0.7899 GB, free: 9.414 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.099e-05/0.003617, allocations: 0.5312 kB / 0.7899 GB, free: 9.414 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.003621, allocations: 5.359 kB / 0.7899 GB, free: 9.41 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 2.663e-05/0.003647, allocations: 119.8 kB / 0.79 GB, free: 9.293 MB / 0.7449 GB Notification: Performance of sort global known variables: time 5e-08/0.003648, allocations: 3.938 kB / 0.79 GB, free: 9.289 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0001221/0.00377, allocations: 4 kB / 0.79 GB, free: 9.285 MB / 0.7449 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.691e-05/0.003837, allocations: 99.16 kB / 0.7901 GB, free: 9.184 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 6.722e-05/0.003904, allocations: 16.48 kB / 0.7901 GB, free: 9.164 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.003905, allocations: 0.9375 kB / 0.7901 GB, free: 9.164 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 1.045e-05/0.003916, allocations: 11.69 kB / 0.7901 GB, free: 9.148 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.37e-05/0.004009, allocations: 3.219 kB / 0.7901 GB, free: 9.148 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001804/0.00419, allocations: 87.95 kB / 0.7902 GB, free: 9.031 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.756e-05/0.004217, allocations: 55.34 kB / 0.7903 GB, free: 8.957 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 1.892e-05/0.004236, allocations: 6.781 kB / 0.7903 GB, free: 8.953 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.159e-05/0.004258, allocations: 8.5 kB / 0.7903 GB, free: 8.945 MB / 0.7449 GB Notification: Performance of SimCode: time 8.02e-07/0.004259, allocations: 0 / 0.7903 GB, free: 8.945 MB / 0.7449 GB Notification: Performance of Templates: time 0.001525/0.005783, allocations: 259.6 kB / 0.7905 GB, free: 8.699 MB / 0.7449 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: 4.959999073296785]