Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.476/2.476, allocations: 393.5 MB / 408.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 180 kB / 0.4902 GB, free: 2.238 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.616/1.616, allocations: 223.1 MB / 0.7992 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000994/0.000994, allocations: 97.77 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003936/0.0003936, allocations: 10.47 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3126, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.193/0.5056, allocations: 149.9 MB / 1.376 GB, free: 3.664 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/0.506, allocations: 75.94 kB / 1.376 GB, free: 3.59 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003279/0.5093, allocations: 0.9353 MB / 1.377 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.525e-06/0.5093, allocations: 0 / 1.377 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.5093, allocations: 0 / 1.377 GB, free: 2.648 MB / 0.8698 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.0005782/0.5099, allocations: 363.2 kB / 1.377 GB, free: 2.246 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.51, allocations: 12.5 kB / 1.377 GB, free: 2.234 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/0.51, allocations: 0 / 1.377 GB, free: 2.234 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.5102, allocations: 174.9 kB / 1.377 GB, free: 2.023 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.5103, allocations: 8 kB / 1.377 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.5103, allocations: 0 / 1.377 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.5105, allocations: 73.66 kB / 1.377 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.5106, allocations: 0 / 1.377 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.5106, allocations: 0 / 1.377 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.5106, allocations: 0 / 1.377 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002426/0.5108, allocations: 63.89 kB / 1.377 GB, free: 1.875 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006392/0.5115, allocations: 284.8 kB / 1.378 GB, free: 1.547 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.5117, allocations: 74.52 kB / 1.378 GB, free: 1.465 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.5118, allocations: 12 kB / 1.378 GB, free: 1.453 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.5118, allocations: 30.56 kB / 1.378 GB, free: 1.414 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.714e-06/0.5118, allocations: 0 / 1.378 GB, free: 1.414 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0004881/0.5123, allocations: 133.6 kB / 1.378 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.5124, allocations: 55.36 kB / 1.378 GB, free: 1.211 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.971e-05/0.5125, allocations: 105 kB / 1.378 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.5125, allocations: 25.7 kB / 1.378 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.07e-05/0.5126, allocations: 88.14 kB / 1.378 GB, free: 0.9805 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.5126, allocations: 7.844 kB / 1.378 GB, free: 0.9727 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.5126, allocations: 4 kB / 1.378 GB, free: 0.9688 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.5128, allocations: 314.8 kB / 1.378 GB, free: 0.6523 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.5129, allocations: 31.98 kB / 1.378 GB, free: 0.6211 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.513, allocations: 31.91 kB / 1.378 GB, free: 0.5898 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.5132, allocations: 35.91 kB / 1.378 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5132, allocations: 0 / 1.378 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002781/0.5135, allocations: 97.56 kB / 1.379 GB, free: 464 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.5135, allocations: 4 kB / 1.379 GB, free: 460 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5135, allocations: 0 / 1.379 GB, free: 460 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.5135, allocations: 0 / 1.379 GB, free: 460 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.5137, allocations: 19.98 kB / 1.379 GB, free: 440 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.5137, allocations: 0 / 1.379 GB, free: 440 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.843e-05/0.5138, allocations: 15.94 kB / 1.379 GB, free: 424 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.5138, allocations: 0 / 1.379 GB, free: 424 kB / 0.8698 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 0.0001106/0.5139, allocations: 117.8 kB / 1.379 GB, free: 296 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.514, allocations: 3.938 kB / 1.379 GB, free: 292 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/0.514, allocations: 7.906 kB / 1.379 GB, free: 284 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.514, allocations: 8 kB / 1.379 GB, free: 276 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.514, allocations: 0 / 1.379 GB, free: 276 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.514, allocations: 0 / 1.379 GB, free: 276 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.5142, allocations: 177.5 kB / 1.379 GB, free: 48 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.5143, allocations: 0 / 1.379 GB, free: 48 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.5144, allocations: 15.98 kB / 1.379 GB, free: 32 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.5144, allocations: 0 / 1.379 GB, free: 32 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.5144, allocations: 0 / 1.379 GB, free: 32 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5144, allocations: 0 / 1.379 GB, free: 32 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5144, allocations: 4 kB / 1.379 GB, free: 28 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003603/0.5148, allocations: 191.5 kB / 1.379 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.446e-05/0.5148, allocations: 77.11 kB / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.5148, allocations: 384 / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.515, allocations: 19.98 kB / 1.379 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/0.5151, allocations: 11.92 kB / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.5151, allocations: 4 kB / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.208e-05/0.5151, allocations: 87.27 kB / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5151, allocations: 0 / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002269/0.5154, allocations: 15.84 kB / 1.379 GB, free: 15.59 MB / 0.8855 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.0001799/0.5156, allocations: 116 kB / 1.379 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002768/0.5158, allocations: 63.94 kB / 1.379 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5159, allocations: 0 / 1.379 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.516, allocations: 43.91 kB / 1.379 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.5162, allocations: 9.578 kB / 1.379 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003764/0.5166, allocations: 143.5 kB / 1.38 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.517, allocations: 0.6848 MB / 1.38 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.341e-05/0.517, allocations: 8 kB / 1.38 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.5171, allocations: 11.42 kB / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of SimCode: time 3.9e-07/0.5171, allocations: 0 / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of Templates: time 0.003198/0.5203, allocations: 0.7324 MB / 1.381 GB, free: 13.73 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches