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.0008049/0.0008049, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001035/0.001035, allocations: 165 kB / 23.82 MB, free: 0.75 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.8845/0.8845, allocations: 177.2 MB / 204.2 MB, free: 5.594 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.711/1.711, allocations: 359 MB / 0.6052 GB, free: 11.02 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.302e-06/1.302e-06, allocations: 0 / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.575e-05/1.705e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001072/0.001089, allocations: 0.6051 MB / 0.7877 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002171/0.001306, allocations: 52.8 kB / 0.7878 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.42e-05/0.00132, allocations: 0 / 0.7878 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.469e-05/0.001335, allocations: 0 / 0.7878 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.39e-06/0.00134, allocations: 0.5312 kB / 0.7878 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.001568, allocations: 16.77 kB / 0.7878 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 3.82e-05/0.001607, allocations: 7.922 kB / 0.7878 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.136e-05/0.001638, allocations: 0.6875 kB / 0.7878 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.177e-05/0.00166, allocations: 0 / 0.7878 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.092e-05/0.001681, allocations: 5.156 kB / 0.7878 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.001692, allocations: 0 / 0.7878 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.807e-05/0.00178, allocations: 19.97 kB / 0.7878 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.001794, allocations: 0.5938 kB / 0.7878 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.352e-05/0.001807, allocations: 4 kB / 0.7878 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.321e-05/0.001891, allocations: 16.73 kB / 0.7879 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.001893, allocations: 0 / 0.7879 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.71e-07/0.001893, allocations: 0.8438 kB / 0.7879 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.001897, allocations: 4 kB / 0.7879 GB, free: 11.73 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.0002489/0.002146, allocations: 342 kB / 0.7882 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.002184, allocations: 8.031 kB / 0.7882 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/0.002379, allocations: 16.91 kB / 0.7882 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.445e-05/0.002443, allocations: 105.7 kB / 0.7883 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.002456, allocations: 384 / 0.7883 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.002465, allocations: 8.312 kB / 0.7883 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.002587, allocations: 47.58 kB / 0.7884 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.002594, allocations: 6.906 kB / 0.7884 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.002605, allocations: 384 / 0.7884 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.002613, allocations: 4.312 kB / 0.7884 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.936e-05/0.002632, allocations: 3.938 kB / 0.7884 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001113/0.002743, allocations: 116.6 kB / 0.7885 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.37e-05/0.002787, allocations: 23.06 kB / 0.7885 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.664e-05/0.002804, allocations: 9.188 kB / 0.7885 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.002829, allocations: 8.078 kB / 0.7885 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.00285, allocations: 33.39 kB / 0.7886 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.002851, allocations: 0 / 0.7886 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001414/0.002992, allocations: 38.89 kB / 0.7886 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.003023, allocations: 55.41 kB / 0.7887 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.09e-05/0.003064, allocations: 142.8 kB / 0.7888 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.003075, allocations: 27.33 kB / 0.7888 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.989e-05/0.003105, allocations: 126.9 kB / 0.7889 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.003135, allocations: 0 / 0.7889 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.003164, allocations: 23.36 kB / 0.789 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.003286, allocations: 496.1 kB / 0.7894 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.744e-05/0.003303, allocations: 0.5938 kB / 0.7894 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-06/0.00331, allocations: 0.6875 kB / 0.7894 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.905e-05/0.003349, allocations: 20.31 kB / 0.7895 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.003352, allocations: 1.031 kB / 0.7895 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.775e-05/0.003399, allocations: 37.69 kB / 0.7895 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.003412, allocations: 5.375 kB / 0.7895 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.003416, allocations: 0 / 0.7895 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.003428, allocations: 0 / 0.7895 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.789e-05/0.003486, allocations: 5.812 kB / 0.7895 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.00349, allocations: 0 / 0.7895 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.21e-05/0.003502, allocations: 4.281 kB / 0.7895 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.003507, allocations: 0 / 0.7895 GB, free: 9.863 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 5.935e-05/0.003567, allocations: 156.6 kB / 0.7897 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-06/0.003572, allocations: 5.578 kB / 0.7897 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.196e-05/0.003594, allocations: 7 kB / 0.7897 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.003595, allocations: 0 / 0.7897 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.003599, allocations: 4.875 kB / 0.7897 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.003601, allocations: 0 / 0.7897 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.229e-05/0.003653, allocations: 124.5 kB / 0.7898 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.003654, allocations: 2.125 kB / 0.7898 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.565e-05/0.00367, allocations: 3.938 kB / 0.7898 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.003673, allocations: 7.984 kB / 0.7898 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.003679, allocations: 0 / 0.7898 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.003679, allocations: 0 / 0.7898 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.00368, allocations: 0 / 0.7898 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.659e-05/0.003747, allocations: 70.61 kB / 0.7899 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-06/0.003751, allocations: 3.984 kB / 0.7899 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.286e-06/0.003759, allocations: 0 / 0.7899 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.087e-05/0.00377, allocations: 4 kB / 0.7899 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.547e-05/0.003785, allocations: 8 kB / 0.7899 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.003788, allocations: 0.5 kB / 0.7899 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.938e-05/0.003817, allocations: 120.3 kB / 0.79 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.003817, allocations: 1.906 kB / 0.79 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000108/0.003925, allocations: 0 / 0.79 GB, free: 9.293 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 7.187e-05/0.003997, allocations: 99.19 kB / 0.7901 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.89e-05/0.004076, allocations: 22.17 kB / 0.7901 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.004078, allocations: 0 / 0.7901 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.298e-06/0.004087, allocations: 7.688 kB / 0.7901 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.924e-05/0.004176, allocations: 5.875 kB / 0.7901 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001873/0.004364, allocations: 87.95 kB / 0.7902 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.965e-05/0.004393, allocations: 56.41 kB / 0.7903 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.048e-05/0.004414, allocations: 1.594 kB / 0.7903 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.341e-05/0.004437, allocations: 12.5 kB / 0.7903 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of SimCode: time 4.1e-07/0.004437, allocations: 0.8438 kB / 0.7903 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of Templates: time 0.001803/0.00624, allocations: 259.1 kB / 0.7905 GB, free: 8.699 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: 4.761648298241198]