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.0009679/0.0009679, 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.0009884/0.0009884, allocations: 181 kB / 24.09 MB, free: 416 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.017/1.017, 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 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.937/1.937, allocations: 377.9 MB / 0.624 GB, free: 8.414 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 3.346e-06/3.346e-06, allocations: 0 / 0.8121 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.947e-05/3.281e-05, allocations: 2.312 kB / 0.8121 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.002105/0.002138, allocations: 0.7064 MB / 0.8128 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.00331, allocations: 0.8703 MB / 0.8136 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.89e-05/0.003358, allocations: 1.344 kB / 0.8136 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.021e-05/0.003389, allocations: 0 / 0.8136 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.381e-05/0.003462, allocations: 7.938 kB / 0.8136 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.003622, allocations: 15.92 kB / 0.8136 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.988e-05/0.003702, allocations: 40.5 kB / 0.8137 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.289e-05/0.003794, allocations: 1.156 kB / 0.8137 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.003895, allocations: 19.98 kB / 0.8137 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.527e-05/0.003941, allocations: 11.98 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.003962, allocations: 4.594 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.232e-05/0.003974, allocations: 4 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.003994, allocations: 10.34 kB / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.123e-05/0.004015, allocations: 11.98 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.423e-05/0.004099, allocations: 23.91 kB / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.004102, allocations: 0 / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.202e-06/0.004103, allocations: 0 / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.004107, allocations: 0 / 0.8138 GB, free: 15.68 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.0004485/0.004555, allocations: 373.9 kB / 0.8141 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.004601, allocations: 12.02 kB / 0.8141 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.004632, allocations: 4.938 kB / 0.8141 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.004763, allocations: 114.1 kB / 0.8142 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.004776, allocations: 8.312 kB / 0.8142 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.004784, allocations: 384 / 0.8142 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.004941, allocations: 62.94 kB / 0.8143 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.00495, allocations: 1.875 kB / 0.8143 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.004957, allocations: 384 / 0.8143 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.004964, allocations: 384 / 0.8143 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.405e-05/0.004998, allocations: 19.84 kB / 0.8143 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/0.005327, allocations: 237.4 kB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.317e-05/0.00541, allocations: 39.58 kB / 0.8146 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.051e-05/0.005431, allocations: 11.75 kB / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.005456, allocations: 0.5312 kB / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.005486, allocations: 38.53 kB / 0.8146 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.005487, allocations: 0 / 0.8146 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001616/0.005649, allocations: 50.09 kB / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.005681, allocations: 51.94 kB / 0.8147 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.243e-05/0.005774, allocations: 161.9 kB / 0.8149 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.005788, allocations: 31.08 kB / 0.8149 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.005923, allocations: 130.9 kB / 0.815 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.005942, allocations: 7.953 kB / 0.8151 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-05/0.00598, allocations: 15.38 kB / 0.8151 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.006127, allocations: 0.4895 MB / 0.8155 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.933e-05/0.006156, allocations: 11.69 kB / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.861e-05/0.006205, allocations: 50.02 kB / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.034e-05/0.006245, allocations: 19.61 kB / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.006247, allocations: 0.9062 kB / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.598e-05/0.006333, allocations: 46.67 kB / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.006346, allocations: 4 kB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.006352, allocations: 0 / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.006366, allocations: 5.219 kB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.182e-05/0.006448, allocations: 11.98 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.00645, allocations: 0 / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.485e-05/0.006485, allocations: 13.03 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.006491, allocations: 4 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.056e-05/0.006541, allocations: 131.9 kB / 0.8158 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.062e-05/0.006572, allocations: 52.95 kB / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 2.216e-05/0.006594, allocations: 17.09 kB / 0.8159 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.01e-07/0.006594, allocations: 0 / 0.8159 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 5.809e-05/0.006652, allocations: 33.7 kB / 0.8159 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.075e-06/0.00666, allocations: 8 kB / 0.8159 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-06/0.006662, allocations: 0 / 0.8159 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.115e-06/0.006665, allocations: 4 kB / 0.8159 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.009e-05/0.006695, allocations: 10.98 kB / 0.8159 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.006698, allocations: 3.938 kB / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.422e-05/0.006722, allocations: 4 kB / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-06/0.006725, allocations: 4 kB / 0.816 GB, free: 13.2 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 0.0001166/0.006842, allocations: 276 kB / 0.8162 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.006866, allocations: 3.953 kB / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/0.006895, allocations: 3.625 kB / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.0069, allocations: 8.438 kB / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.006903, allocations: 1.938 kB / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.006905, allocations: 0 / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.007044, allocations: 101.2 kB / 0.8163 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.007046, allocations: 0 / 0.8163 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.941e-05/0.007085, allocations: 8 kB / 0.8163 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.007087, allocations: 0.8438 kB / 0.8163 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-06/0.007092, allocations: 0 / 0.8163 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.007093, allocations: 0 / 0.8163 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.007096, allocations: 4.828 kB / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.007228, allocations: 190.5 kB / 0.8165 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.793e-06/0.007235, allocations: 0 / 0.8165 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.007245, allocations: 3.984 kB / 0.8165 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.753e-05/0.007303, allocations: 7.938 kB / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.007333, allocations: 8 kB / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.007337, allocations: 3.938 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.864e-05/0.007386, allocations: 127.2 kB / 0.8167 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.007386, allocations: 2.812 kB / 0.8167 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002912/0.007677, allocations: 11.95 kB / 0.8167 GB, free: 12.41 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 0.0001156/0.007792, allocations: 91.25 kB / 0.8168 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002493/0.008042, allocations: 31.36 kB / 0.8168 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.008044, allocations: 0 / 0.8168 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.412e-05/0.008068, allocations: 20.5 kB / 0.8168 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.008336, allocations: 13.11 kB / 0.8168 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.008615, allocations: 107.6 kB / 0.8169 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.954e-05/0.008655, allocations: 59.3 kB / 0.817 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.959e-05/0.008684, allocations: 5.047 kB / 0.817 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.791e-05/0.008752, allocations: 74.2 kB / 0.8171 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of SimCode: time 6.71e-07/0.008753, allocations: 0 / 0.8171 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of Templates: time 0.002861/0.01161, allocations: 0.7377 MB / 0.8178 GB, free: 11.24 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.190542574971914]