Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.334/2.334, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.002457/0.002457, allocations: 191.2 kB / 498.1 MB, free: 5.672 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.472/1.472, allocations: 223.2 MB / 0.7948 GB, free: 17.85 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.001185/0.001186, allocations: 100.3 kB / 0.9346 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005283/0.0005284, allocations: 12.28 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3573, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2006/0.558, allocations: 149.1 MB / 1.368 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.5583, allocations: 83.83 kB / 1.369 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002798/0.5611, allocations: 0.9416 MB / 1.369 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.906e-06/0.5612, allocations: 0 / 1.369 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.5612, allocations: 0 / 1.369 GB, free: 11.92 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.0004849/0.5617, allocations: 363.2 kB / 1.37 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.5617, allocations: 8.031 kB / 1.37 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.5618, allocations: 11.91 kB / 1.37 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.5619, allocations: 171 kB / 1.37 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.562, allocations: 4 kB / 1.37 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.562, allocations: 0 / 1.37 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.5622, allocations: 73.66 kB / 1.37 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.5622, allocations: 0 / 1.37 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.5622, allocations: 0 / 1.37 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.5622, allocations: 0 / 1.37 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002114/0.5625, allocations: 63.95 kB / 1.37 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.5629, allocations: 288.7 kB / 1.37 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.5631, allocations: 70.53 kB / 1.37 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.5631, allocations: 80 / 1.37 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.5632, allocations: 34.59 kB / 1.37 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.5632, allocations: 0 / 1.37 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0004285/0.5636, allocations: 133.6 kB / 1.371 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.5637, allocations: 55.36 kB / 1.371 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.692e-05/0.5637, allocations: 105 kB / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.5638, allocations: 29.7 kB / 1.371 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.444e-05/0.5638, allocations: 92.08 kB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.5639, allocations: 11.8 kB / 1.371 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/0.5639, allocations: 0 / 1.371 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.564, allocations: 318.8 kB / 1.371 GB, free: 9.922 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.5641, allocations: 27.97 kB / 1.371 GB, free: 9.895 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.401e-05/0.5642, allocations: 27.98 kB / 1.371 GB, free: 9.867 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.5643, allocations: 31.97 kB / 1.371 GB, free: 9.836 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5643, allocations: 0 / 1.371 GB, free: 9.836 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002573/0.5646, allocations: 97.59 kB / 1.371 GB, free: 9.734 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.5646, allocations: 4 kB / 1.371 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.5646, allocations: 0 / 1.371 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.5647, allocations: 0 / 1.371 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.5648, allocations: 15.98 kB / 1.371 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.5648, allocations: 3.984 kB / 1.371 GB, free: 9.711 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.013e-05/0.5649, allocations: 19.89 kB / 1.371 GB, free: 9.691 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.5649, allocations: 0 / 1.371 GB, free: 9.691 MB / 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 8.673e-05/0.565, allocations: 117.8 kB / 1.372 GB, free: 9.566 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.565, allocations: 3.906 kB / 1.372 GB, free: 9.562 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/0.5651, allocations: 7.906 kB / 1.372 GB, free: 9.547 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.5651, allocations: 0 / 1.372 GB, free: 9.547 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.5651, allocations: 0 / 1.372 GB, free: 9.547 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.5651, allocations: 0 / 1.372 GB, free: 9.547 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.5653, allocations: 181.6 kB / 1.372 GB, free: 9.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.5653, allocations: 4 kB / 1.372 GB, free: 9.316 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.471e-05/0.5654, allocations: 15.98 kB / 1.372 GB, free: 9.301 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.5654, allocations: 0 / 1.372 GB, free: 9.301 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.5654, allocations: 0 / 1.372 GB, free: 9.301 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/0.5654, allocations: 4 kB / 1.372 GB, free: 9.297 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.5654, allocations: 0 / 1.372 GB, free: 9.297 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.5657, allocations: 195.4 kB / 1.372 GB, free: 9.09 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.5658, allocations: 84.95 kB / 1.372 GB, free: 8.988 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.5658, allocations: 4 kB / 1.372 GB, free: 8.984 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.5659, allocations: 7.984 kB / 1.372 GB, free: 8.977 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.406e-05/0.566, allocations: 11.98 kB / 1.372 GB, free: 8.965 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.566, allocations: 4 kB / 1.372 GB, free: 8.961 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.383e-05/0.5661, allocations: 91.27 kB / 1.372 GB, free: 8.871 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5661, allocations: 0 / 1.372 GB, free: 8.871 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002163/0.5663, allocations: 12 kB / 1.372 GB, free: 8.859 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: 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.0001651/0.5665, allocations: 107 kB / 1.372 GB, free: 8.742 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002667/0.5668, allocations: 76.25 kB / 1.372 GB, free: 8.668 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5668, allocations: 0 / 1.372 GB, free: 8.668 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.5669, allocations: 35.97 kB / 1.372 GB, free: 8.633 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.5671, allocations: 9.5 kB / 1.372 GB, free: 8.625 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.5675, allocations: 136.7 kB / 1.372 GB, free: 8.465 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.5678, allocations: 0.685 MB / 1.373 GB, free: 7.754 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.802e-05/0.5678, allocations: 4 kB / 1.373 GB, free: 7.75 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.5679, allocations: 15.42 kB / 1.373 GB, free: 7.734 MB / 0.8698 GB Notification: Performance of SimCode: time 2.41e-07/0.5679, allocations: 4 kB / 1.373 GB, free: 7.73 MB / 0.8698 GB Notification: Performance of Templates: time 0.002932/0.5708, allocations: 0.7357 MB / 1.374 GB, free: 7 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches