Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.001495/0.001495, 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.001547/0.001547, 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.9763/0.9763, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.891/1.891, allocations: 377.8 MB / 0.6236 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 178] 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.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.156e-06/3.156e-06, allocations: 0 / 0.8115 GB, free: 1.672 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.903e-05/3.218e-05, allocations: 3 kB / 0.8116 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002384/0.002416, allocations: 0.7871 MB / 0.8123 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.003763, allocations: 0.9111 MB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.58e-05/0.003818, allocations: 0 / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.595e-05/0.003864, allocations: 7.875 kB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.851e-05/0.003963, allocations: 4.438 kB / 0.8132 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.004176, allocations: 54.14 kB / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.004299, allocations: 83.77 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.004423, allocations: 23.91 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.004544, allocations: 51.89 kB / 0.8134 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.746e-05/0.004631, allocations: 35.89 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.004659, allocations: 8 kB / 0.8135 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.607e-05/0.004675, allocations: 9.375 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.098e-05/0.004706, allocations: 27.89 kB / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.004744, allocations: 19.98 kB / 0.8135 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.004893, allocations: 67.72 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.004897, allocations: 1.156 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.533e-06/0.004898, allocations: 0 / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.004906, allocations: 3.938 kB / 0.8136 GB, free: 15.59 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006428/0.005549, allocations: 409.3 kB / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.393e-05/0.005613, allocations: 8.031 kB / 0.814 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.352e-05/0.005686, allocations: 17.8 kB / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.005842, allocations: 116.5 kB / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.395e-05/0.005876, allocations: 5.406 kB / 0.8141 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.005902, allocations: 8.375 kB / 0.8141 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.006178, allocations: 88.33 kB / 0.8142 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.006197, allocations: 3.938 kB / 0.8142 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.006216, allocations: 11.94 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.006227, allocations: 0 / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.757e-05/0.006325, allocations: 33.91 kB / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005982/0.006923, allocations: 311.6 kB / 0.8146 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004021/0.007325, allocations: 88.66 kB / 0.8146 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.051e-05/0.007386, allocations: 27.67 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.007411, allocations: 0 / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.007437, allocations: 34.39 kB / 0.8147 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.007439, allocations: 4 kB / 0.8147 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002647/0.007703, allocations: 82.14 kB / 0.8148 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.007736, allocations: 51.94 kB / 0.8148 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.007843, allocations: 182.9 kB / 0.815 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.007856, allocations: 29.7 kB / 0.815 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.395e-05/0.00792, allocations: 138.9 kB / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.007947, allocations: 24.42 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.596e-05/0.008003, allocations: 31.36 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.008141, allocations: 0.4888 MB / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.176e-05/0.008192, allocations: 16.83 kB / 0.8157 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.758e-05/0.00823, allocations: 12.3 kB / 0.8157 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.00833, allocations: 44.66 kB / 0.8158 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.008332, allocations: 1.281 kB / 0.8158 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001552/0.008487, allocations: 77.56 kB / 0.8158 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.008503, allocations: 4 kB / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.008508, allocations: 0.8438 kB / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.008526, allocations: 0 / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.008638, allocations: 24.91 kB / 0.8159 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.008644, allocations: 0 / 0.8159 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.165e-05/0.008695, allocations: 5.5 kB / 0.8159 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.008707, allocations: 8 kB / 0.8159 GB, free: 13.05 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: 3 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.824e-05/0.008805, allocations: 164.5 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.00884, allocations: 9.203 kB / 0.8161 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.009062, allocations: 86.03 kB / 0.8161 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.009064, allocations: 3.094 kB / 0.8161 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.009068, allocations: 0 / 0.8161 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.009071, allocations: 0 / 0.8161 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.009256, allocations: 156.5 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.009257, allocations: 0 / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.009368, allocations: 19.97 kB / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.00937, allocations: 0 / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.009381, allocations: 4 kB / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.009383, allocations: 0.5 kB / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.009385, allocations: 0 / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.009604, allocations: 232.9 kB / 0.8165 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.522e-05/0.009619, allocations: 3.953 kB / 0.8165 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.009639, allocations: 9.156 kB / 0.8165 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.7e-05/0.009736, allocations: 7.984 kB / 0.8166 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.914e-05/0.009815, allocations: 19.97 kB / 0.8166 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.009825, allocations: 5.031 kB / 0.8166 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.276e-05/0.009888, allocations: 135.6 kB / 0.8167 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/0.009888, allocations: 3.938 kB / 0.8167 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002839/0.01017, allocations: 17.34 kB / 0.8167 GB, free: 12.13 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: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001155/0.01029, allocations: 100.3 kB / 0.8168 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001681/0.01046, allocations: 47.59 kB / 0.8169 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01046, allocations: 0 / 0.8169 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.003e-05/0.01054, allocations: 40.31 kB / 0.8169 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.01085, allocations: 21.61 kB / 0.8169 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004355/0.01128, allocations: 167.4 kB / 0.8171 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.658e-05/0.01133, allocations: 59.34 kB / 0.8171 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.814e-05/0.01139, allocations: 11.84 kB / 0.8172 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.416e-05/0.01146, allocations: 24.48 kB / 0.8172 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of SimCode: time 9.42e-07/0.01146, allocations: 1.125 kB / 0.8172 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of Templates: time 0.004331/0.0158, allocations: 1.723 MB / 0.8189 GB, free: 9.918 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.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.274722313974053]