Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.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.001353/0.001353, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001713/0.001713, allocations: 165.6 kB / 24.87 MB, free: 8.891 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.017/1.017, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.944/1.944, allocations: 377.9 MB / 0.6247 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.8128 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.292e-05/1.414e-05, allocations: 4.984 kB / 0.8128 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.001123/0.001137, allocations: 0.6899 MB / 0.8135 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007684/0.001906, allocations: 0.8709 MB / 0.8144 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.581e-05/0.001931, allocations: 0 / 0.8144 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.241e-05/0.001954, allocations: 8.766 kB / 0.8144 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.002e-05/0.002004, allocations: 4 kB / 0.8144 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000109/0.002113, allocations: 20.42 kB / 0.8144 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.618e-05/0.002199, allocations: 36.59 kB / 0.8144 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 6.709e-05/0.002266, allocations: 0 / 0.8144 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.161e-05/0.002328, allocations: 24.83 kB / 0.8145 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.372e-05/0.002361, allocations: 11.98 kB / 0.8145 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.002375, allocations: 4.656 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-06/0.002383, allocations: 4 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.002398, allocations: 8.859 kB / 0.8145 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.52e-05/0.002413, allocations: 15.92 kB / 0.8145 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 5.465e-05/0.002467, allocations: 15.98 kB / 0.8145 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.002469, allocations: 1.25 kB / 0.8145 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.2e-07/0.00247, allocations: 0 / 0.8145 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.105e-06/0.002473, allocations: 3.938 kB / 0.8145 GB, free: 15.66 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002974/0.00277, allocations: 378.1 kB / 0.8149 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.0028, allocations: 8.031 kB / 0.8149 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.565e-05/0.002825, allocations: 4.938 kB / 0.8149 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.454e-05/0.0029, allocations: 118 kB / 0.815 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.00291, allocations: 4.375 kB / 0.815 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-06/0.002917, allocations: 384 / 0.815 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.00302, allocations: 64.38 kB / 0.8151 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.003026, allocations: 192 / 0.8151 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-06/0.003033, allocations: 4.359 kB / 0.8151 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.003037, allocations: 384 / 0.8151 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.144e-05/0.003059, allocations: 8.594 kB / 0.8151 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000231/0.00329, allocations: 248.4 kB / 0.8153 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.479e-05/0.003345, allocations: 40.11 kB / 0.8154 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.479e-05/0.003359, allocations: 16.22 kB / 0.8154 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.938e-06/0.003369, allocations: 0 / 0.8154 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.003386, allocations: 34.11 kB / 0.8154 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.003387, allocations: 0 / 0.8154 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001118/0.003499, allocations: 50.88 kB / 0.8155 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.003526, allocations: 51.41 kB / 0.8155 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.054e-05/0.003587, allocations: 162.5 kB / 0.8157 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.003596, allocations: 29.7 kB / 0.8157 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/0.003641, allocations: 132 kB / 0.8158 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.003656, allocations: 7.953 kB / 0.8158 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/0.003681, allocations: 15.38 kB / 0.8158 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.003783, allocations: 0.4891 MB / 0.8163 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.977e-05/0.003803, allocations: 15.67 kB / 0.8163 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.94e-05/0.003832, allocations: 49.8 kB / 0.8164 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.78e-05/0.00386, allocations: 16.91 kB / 0.8164 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.003862, allocations: 0 / 0.8164 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.534e-05/0.003917, allocations: 47.55 kB / 0.8164 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.467e-06/0.003927, allocations: 4 kB / 0.8164 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.00393, allocations: 0 / 0.8164 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.906e-06/0.003939, allocations: 3.938 kB / 0.8165 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.206e-05/0.003991, allocations: 11.98 kB / 0.8165 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.003994, allocations: 2.312 kB / 0.8165 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.302e-05/0.004017, allocations: 7.938 kB / 0.8165 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.004021, allocations: 4 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.07e-05/0.004062, allocations: 130.9 kB / 0.8166 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 1.892e-05/0.004081, allocations: 49.06 kB / 0.8166 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.167e-05/0.004093, allocations: 19.06 kB / 0.8167 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.3e-07/0.004093, allocations: 0 / 0.8167 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 3.474e-05/0.004128, allocations: 33.7 kB / 0.8167 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.987e-06/0.004132, allocations: 4 kB / 0.8167 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.51e-07/0.004132, allocations: 0 / 0.8167 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.52e-07/0.004133, allocations: 0 / 0.8167 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.635e-05/0.004149, allocations: 11.98 kB / 0.8167 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-06/0.00415, allocations: 3.938 kB / 0.8167 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.569e-05/0.004166, allocations: 4.688 kB / 0.8167 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-06/0.004167, allocations: 0.5 kB / 0.8167 GB, free: 13.18 MB / 0.7761 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 (2): * Single equations (assignments): 2 * 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.565e-05/0.004243, allocations: 272.6 kB / 0.817 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.00426, allocations: 7.953 kB / 0.817 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.007e-05/0.00428, allocations: 8.422 kB / 0.817 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.004282, allocations: 5.312 kB / 0.817 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.004285, allocations: 8 kB / 0.817 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.004289, allocations: 3.938 kB / 0.817 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.665e-05/0.004375, allocations: 101.2 kB / 0.8171 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.004376, allocations: 0.5625 kB / 0.8171 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.419e-05/0.0044, allocations: 12.61 kB / 0.8171 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.004402, allocations: 1.969 kB / 0.8171 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.958e-06/0.004406, allocations: 0 / 0.8171 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.004406, allocations: 0 / 0.8171 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.004407, allocations: 0 / 0.8171 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.099e-05/0.004488, allocations: 187.9 kB / 0.8173 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-06/0.004492, allocations: 0.8125 kB / 0.8173 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.093e-06/0.004499, allocations: 0 / 0.8173 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.589e-05/0.004535, allocations: 8.922 kB / 0.8173 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/0.004558, allocations: 8 kB / 0.8173 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.004561, allocations: 3.938 kB / 0.8173 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.879e-05/0.004589, allocations: 128.5 kB / 0.8174 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.004589, allocations: 0 / 0.8174 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001669/0.004756, allocations: 15.89 kB / 0.8175 GB, free: 12.38 MB / 0.7761 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 (2): * Single equations (assignments): 2 * 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 5.894e-05/0.004815, allocations: 92.22 kB / 0.8176 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.71e-05/0.004892, allocations: 32.7 kB / 0.8176 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.21e-07/0.004893, allocations: 0 / 0.8176 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.649e-05/0.00491, allocations: 15.5 kB / 0.8176 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.005073, allocations: 11.94 kB / 0.8176 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001918/0.005265, allocations: 118.4 kB / 0.8177 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.963e-05/0.005295, allocations: 59.3 kB / 0.8178 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.689e-05/0.005312, allocations: 3.984 kB / 0.8178 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.31e-05/0.005355, allocations: 74.2 kB / 0.8179 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of SimCode: time 4.71e-07/0.005355, allocations: 0 / 0.8179 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of Templates: time 0.002078/0.007433, allocations: 0.7308 MB / 0.8186 GB, free: 11.21 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.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.243632384110242]