Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001563/0.001563, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001983/0.001983, allocations: 169 kB / 23.02 MB, free: 1.543 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.046/1.046, allocations: 177.1 MB / 203.4 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.13/2.13, allocations: 429.5 MB / 0.6732 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.567e-06/3.567e-06, allocations: 3.984 kB / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.385e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001425/0.001449, allocations: 0.7827 MB / 0.879 GB, free: 5.523 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.002565, allocations: 0.9042 MB / 0.8798 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.724e-05/0.002602, allocations: 4 kB / 0.8798 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.132e-05/0.002634, allocations: 12.52 kB / 0.8799 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.577e-05/0.002709, allocations: 8.969 kB / 0.8799 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.002875, allocations: 40.45 kB / 0.8799 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.093e-05/0.002966, allocations: 88.72 kB / 0.88 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.003074, allocations: 23.86 kB / 0.88 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.741e-05/0.003161, allocations: 53.08 kB / 0.8801 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.182e-05/0.003223, allocations: 39.88 kB / 0.8801 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.003248, allocations: 8 kB / 0.8801 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.216e-05/0.00326, allocations: 9.031 kB / 0.8801 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.232e-05/0.003283, allocations: 27.86 kB / 0.8801 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.00331, allocations: 23.91 kB / 0.8802 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.003414, allocations: 68.91 kB / 0.8802 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.003415, allocations: 0 / 0.8802 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003416, allocations: 0 / 0.8802 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.00342, allocations: 1.125 kB / 0.8802 GB, free: 4.215 MB / 0.8386 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.0003812/0.003801, allocations: 400.3 kB / 0.8806 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.003833, allocations: 13.06 kB / 0.8806 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.003876, allocations: 12.89 kB / 0.8806 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.072e-05/0.003966, allocations: 128.4 kB / 0.8808 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.003986, allocations: 9.156 kB / 0.8808 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.003999, allocations: 384 / 0.8808 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.004162, allocations: 102 kB / 0.8809 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.004171, allocations: 3.938 kB / 0.8809 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.004182, allocations: 0 / 0.8809 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.00419, allocations: 4 kB / 0.8809 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.158e-05/0.004252, allocations: 23.98 kB / 0.8809 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/0.004744, allocations: 323.5 kB / 0.8812 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.005008, allocations: 76.55 kB / 0.8813 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.794e-05/0.005045, allocations: 24.16 kB / 0.8813 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.005064, allocations: 9.531 kB / 0.8813 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.005083, allocations: 37.38 kB / 0.8813 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.005084, allocations: 0 / 0.8813 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002042/0.005288, allocations: 91.23 kB / 0.8814 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.005321, allocations: 51.41 kB / 0.8815 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.174e-05/0.005403, allocations: 181.9 kB / 0.8817 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.005414, allocations: 25.7 kB / 0.8817 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.407e-05/0.005458, allocations: 138.8 kB / 0.8818 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.005481, allocations: 28.81 kB / 0.8818 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.005514, allocations: 23.38 kB / 0.8819 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.005639, allocations: 0.5005 MB / 0.8823 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.222e-05/0.005671, allocations: 17.58 kB / 0.8824 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.659e-05/0.005698, allocations: 8 kB / 0.8824 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.297e-05/0.005761, allocations: 35.67 kB / 0.8824 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.005762, allocations: 0 / 0.8824 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001003/0.005863, allocations: 73.67 kB / 0.8825 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.005876, allocations: 8 kB / 0.8825 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.00588, allocations: 0 / 0.8825 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.005894, allocations: 0 / 0.8825 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.58e-05/0.00597, allocations: 19.92 kB / 0.8825 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.005975, allocations: 4 kB / 0.8825 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.514e-05/0.00601, allocations: 11.94 kB / 0.8825 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.006018, allocations: 4 kB / 0.8825 GB, free: 1.668 MB / 0.8386 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 6.592e-05/0.006084, allocations: 164.5 kB / 0.8827 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.006105, allocations: 11.95 kB / 0.8827 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.006242, allocations: 86.06 kB / 0.8828 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.006244, allocations: 4 kB / 0.8828 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.006248, allocations: 0 / 0.8828 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.006252, allocations: 3.984 kB / 0.8828 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.006368, allocations: 144.4 kB / 0.8829 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.006369, allocations: 4 kB / 0.8829 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.266e-05/0.006422, allocations: 19.92 kB / 0.8829 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.006424, allocations: 4 kB / 0.8829 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.006431, allocations: 0 / 0.8829 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.006433, allocations: 3.984 kB / 0.8829 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.006434, allocations: 4.625 kB / 0.883 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.006572, allocations: 235.8 kB / 0.8832 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.327e-06/0.006581, allocations: 7.953 kB / 0.8832 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.006595, allocations: 0 / 0.8832 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.709e-05/0.006642, allocations: 4 kB / 0.8832 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.486e-05/0.006707, allocations: 31.95 kB / 0.8832 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.006711, allocations: 0 / 0.8832 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.187e-05/0.006753, allocations: 143.5 kB / 0.8834 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.5e-07/0.006754, allocations: 4 kB / 0.8834 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001464/0.0069, allocations: 16 kB / 0.8834 GB, free: 0.7188 MB / 0.8386 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 7.4e-05/0.006974, allocations: 91.25 kB / 0.8835 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001095/0.007084, allocations: 43.66 kB / 0.8835 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.007085, allocations: 0 / 0.8835 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.91e-05/0.007134, allocations: 39.61 kB / 0.8835 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.00733, allocations: 27.92 kB / 0.8836 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002848/0.007615, allocations: 169.7 kB / 0.8837 GB, free: 316 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.305e-05/0.007648, allocations: 64.89 kB / 0.8838 GB, free: 232 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.331e-05/0.007691, allocations: 11.98 kB / 0.8838 GB, free: 220 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.379e-05/0.007745, allocations: 20.5 kB / 0.8838 GB, free: 200 kB / 0.8386 GB Notification: Performance of SimCode: time 5.31e-07/0.007746, allocations: 0 / 0.8838 GB, free: 200 kB / 0.8386 GB Notification: Performance of Templates: time 0.003223/0.01097, allocations: 1.816 MB / 0.8856 GB, free: 14.4 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.613627799786627]