Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.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.0009443/0.0009443, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.000987/0.000987, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.962/0.962, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.391/2.391, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 3.938 kB / 0.8897 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.182e-05/1.363e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.002483/0.002497, allocations: 2.036 MB / 0.8917 GB, free: 7.691 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001531/0.004027, allocations: 1.302 MB / 0.893 GB, free: 6.387 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.00413, allocations: 7.938 kB / 0.893 GB, free: 6.379 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003481/0.004478, allocations: 159.3 kB / 0.8932 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003251/0.004803, allocations: 215 kB / 0.8934 GB, free: 6.012 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.005017, allocations: 163.5 kB / 0.8935 GB, free: 5.852 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005447/0.005562, allocations: 343 kB / 0.8939 GB, free: 5.516 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.005678, allocations: 40.91 kB / 0.8939 GB, free: 5.473 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006412/0.00632, allocations: 268.7 kB / 0.8942 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.006469, allocations: 135.7 kB / 0.8943 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.006496, allocations: 16 kB / 0.8943 GB, free: 5.098 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.006596, allocations: 59.89 kB / 0.8944 GB, free: 5.039 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.774e-05/0.006674, allocations: 95.67 kB / 0.8944 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.665e-05/0.00673, allocations: 63.72 kB / 0.8945 GB, free: 4.883 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.006997, allocations: 255 kB / 0.8948 GB, free: 4.633 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.006999, allocations: 4 kB / 0.8948 GB, free: 4.629 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.41e-07/0.007, allocations: 4 kB / 0.8948 GB, free: 4.625 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.007004, allocations: 0 / 0.8948 GB, free: 4.625 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005849/0.007589, allocations: 0.6739 MB / 0.8954 GB, free: 3.914 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.007625, allocations: 12.62 kB / 0.8954 GB, free: 3.902 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.6e-05/0.007681, allocations: 40.7 kB / 0.8955 GB, free: 3.863 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.007939, allocations: 301.5 kB / 0.8958 GB, free: 3.543 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.007957, allocations: 8.375 kB / 0.8958 GB, free: 3.535 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.007972, allocations: 15.86 kB / 0.8958 GB, free: 3.52 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.008122, allocations: 90.33 kB / 0.8959 GB, free: 3.422 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.008129, allocations: 4 kB / 0.8959 GB, free: 3.418 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.008138, allocations: 7.984 kB / 0.8959 GB, free: 3.41 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.008143, allocations: 0 / 0.8959 GB, free: 3.41 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.827e-05/0.008191, allocations: 29.22 kB / 0.8959 GB, free: 3.383 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004092/0.008601, allocations: 403.8 kB / 0.8963 GB, free: 2.961 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.008731, allocations: 87.25 kB / 0.8964 GB, free: 2.863 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.364e-05/0.008764, allocations: 31.67 kB / 0.8964 GB, free: 2.828 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.008781, allocations: 7.938 kB / 0.8964 GB, free: 2.82 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001112/0.008893, allocations: 92.98 kB / 0.8965 GB, free: 2.715 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.008894, allocations: 0 / 0.8965 GB, free: 2.715 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0002331/0.009127, allocations: 161.4 kB / 0.8967 GB, free: 2.551 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.009154, allocations: 51.41 kB / 0.8967 GB, free: 2.488 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.00943, allocations: 450.3 kB / 0.8971 GB, free: 2.031 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.009447, allocations: 29.7 kB / 0.8972 GB, free: 1.996 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.00955, allocations: 231.2 kB / 0.8974 GB, free: 1.766 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.009581, allocations: 43.67 kB / 0.8974 GB, free: 1.723 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-05/0.009652, allocations: 75.59 kB / 0.8975 GB, free: 1.637 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.009789, allocations: 0.5351 MB / 0.898 GB, free: 1.09 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.455e-05/0.009834, allocations: 32.53 kB / 0.898 GB, free: 1.059 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.523e-05/0.009899, allocations: 73.19 kB / 0.8981 GB, free: 0.9766 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.01, allocations: 107.9 kB / 0.8982 GB, free: 0.8594 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.01001, allocations: 4 kB / 0.8982 GB, free: 0.8555 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002041/0.01021, allocations: 205.8 kB / 0.8984 GB, free: 0.6484 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.01022, allocations: 4 kB / 0.8984 GB, free: 0.6445 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.01023, allocations: 4 kB / 0.8984 GB, free: 0.6406 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.01024, allocations: 3.984 kB / 0.8984 GB, free: 0.6367 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.01036, allocations: 47.92 kB / 0.8985 GB, free: 0.5898 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.01036, allocations: 4 kB / 0.8985 GB, free: 0.5859 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.406e-05/0.01043, allocations: 27.81 kB / 0.8985 GB, free: 0.5586 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.01045, allocations: 8 kB / 0.8985 GB, free: 0.5508 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intLes.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 8.987e-05/0.01054, allocations: 180.6 kB / 0.8987 GB, free: 372 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.01056, allocations: 35.77 kB / 0.8987 GB, free: 336 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001708/0.01074, allocations: 147.1 kB / 0.8989 GB, free: 188 kB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.01074, allocations: 4 kB / 0.8989 GB, free: 184 kB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.01074, allocations: 3.984 kB / 0.8989 GB, free: 180 kB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01074, allocations: 0 / 0.8989 GB, free: 180 kB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.0109, allocations: 197 kB / 0.8991 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.0109, allocations: 0 / 0.8991 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.813e-05/0.01094, allocations: 15.98 kB / 0.8991 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.01094, allocations: 8 kB / 0.8991 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.01095, allocations: 7.938 kB / 0.8991 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.01095, allocations: 3.984 kB / 0.8991 GB, free: 15.92 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01095, allocations: 0 / 0.8991 GB, free: 15.92 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.01111, allocations: 192 kB / 0.8993 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.313e-05/0.01114, allocations: 39.75 kB / 0.8993 GB, free: 15.67 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.01116, allocations: 7.938 kB / 0.8993 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.139e-05/0.01121, allocations: 4 kB / 0.8993 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.01125, allocations: 23.97 kB / 0.8993 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.01126, allocations: 7.984 kB / 0.8994 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001314/0.01139, allocations: 271 kB / 0.8996 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.01139, allocations: 0 / 0.8996 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001734/0.01156, allocations: 55.94 kB / 0.8997 GB, free: 15.31 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000772/0.01234, allocations: 406 kB / 0.9001 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001488/0.01248, allocations: 99.56 kB / 0.9001 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.01249, allocations: 0 / 0.9001 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.934e-05/0.01254, allocations: 55.58 kB / 0.9002 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.01282, allocations: 122.1 kB / 0.9003 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004918/0.01332, allocations: 477 kB / 0.9008 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.682e-05/0.01338, allocations: 100.6 kB / 0.9009 GB, free: 14.17 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.546e-05/0.01346, allocations: 42.94 kB / 0.9009 GB, free: 14.13 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.01362, allocations: 142.2 kB / 0.901 GB, free: 13.99 MB / 0.8698 GB Notification: Performance of SimCode: time 5.91e-07/0.01362, allocations: 0 / 0.901 GB, free: 13.99 MB / 0.8698 GB Notification: Performance of Templates: time 0.006693/0.02031, allocations: 4.88 MB / 0.9058 GB, free: 9.191 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Less.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.256335369776934]