Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.39/1.39, allocations: 251.9 MB / 266.9 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001174/0.001174, allocations: 175.3 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.175/2.175, allocations: 205.4 MB / 0.5775 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008632/0.0008635, allocations: 82.44 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003697, allocations: 9.031 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.224, allocations: 106.4 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.179/0.403, allocations: 131.7 MB / 1.029 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.4034, allocations: 71.95 kB / 1.029 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003126/0.4065, allocations: 0.9656 MB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.786e-06/0.4065, allocations: 0 / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.4066, allocations: 0 / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004996/0.4071, allocations: 355.2 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.4071, allocations: 8.031 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.4072, allocations: 7.906 kB / 1.03 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.4073, allocations: 178.9 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.4074, allocations: 4 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.4074, allocations: 4 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.4076, allocations: 69.66 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.4076, allocations: 0 / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.4076, allocations: 0 / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.4077, allocations: 0 / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002134/0.4079, allocations: 59.95 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005598/0.4084, allocations: 292.7 kB / 1.031 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.4087, allocations: 70.53 kB / 1.031 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.4087, allocations: 0 / 1.031 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.4087, allocations: 34.59 kB / 1.031 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.4087, allocations: 0 / 1.031 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0004744/0.4092, allocations: 125.7 kB / 1.031 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.4093, allocations: 51.41 kB / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.4094, allocations: 101 kB / 1.031 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.4094, allocations: 29.7 kB / 1.031 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.048e-05/0.4095, allocations: 92.05 kB / 1.031 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.4095, allocations: 15.89 kB / 1.031 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-06/0.4096, allocations: 0 / 1.031 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.4097, allocations: 326.7 kB / 1.031 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.4098, allocations: 27.97 kB / 1.032 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.353e-05/0.4099, allocations: 27.98 kB / 1.032 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.41, allocations: 28.25 kB / 1.032 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4101, allocations: 4 kB / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002471/0.4103, allocations: 105.5 kB / 1.032 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.4103, allocations: 4 kB / 1.032 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.4103, allocations: 3.938 kB / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.4104, allocations: 0 / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.4105, allocations: 23.97 kB / 1.032 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4105, allocations: 0 / 1.032 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.51e-05/0.4106, allocations: 12 kB / 1.032 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.4106, allocations: 0 / 1.032 GB, free: 8.781 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesEquThr.u,intLesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.543e-05/0.4107, allocations: 121.8 kB / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.4108, allocations: 0 / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.4108, allocations: 7.906 kB / 1.032 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.4108, allocations: 4 kB / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.4108, allocations: 0 / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4108, allocations: 0 / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.411, allocations: 173.6 kB / 1.032 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.411, allocations: 0 / 1.032 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.386e-05/0.4111, allocations: 19.98 kB / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4112, allocations: 0 / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.4112, allocations: 0 / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-06/0.4112, allocations: 3.938 kB / 1.032 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4112, allocations: 4 kB / 1.032 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.4115, allocations: 195.4 kB / 1.032 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.816e-05/0.4116, allocations: 77.11 kB / 1.032 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.4116, allocations: 4 kB / 1.032 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.4117, allocations: 7.984 kB / 1.032 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.802e-05/0.4118, allocations: 11.98 kB / 1.032 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.4118, allocations: 4 kB / 1.032 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.269e-05/0.4119, allocations: 91.27 kB / 1.032 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4119, allocations: 3.938 kB / 1.032 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002177/0.4121, allocations: 12 kB / 1.032 GB, free: 7.957 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesEquThr.u,intLesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001524/0.4123, allocations: 99.25 kB / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002747/0.4126, allocations: 75.88 kB / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4126, allocations: 0 / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.4127, allocations: 35.97 kB / 1.033 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.4129, allocations: 11.95 kB / 1.033 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.4132, allocations: 141.3 kB / 1.033 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.4135, allocations: 0.6848 MB / 1.033 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.632e-05/0.4136, allocations: 4 kB / 1.033 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.4136, allocations: 15.42 kB / 1.033 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of SimCode: time 2.214e-06/0.4137, allocations: 4 kB / 1.033 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of Templates: time 0.003245/0.4169, allocations: 0.7401 MB / 1.034 GB, free: 6.098 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches