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.221/2.221, allocations: 387.1 MB / 399.7 MB, free: 9.508 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.000932/0.0009319, allocations: 178.4 kB / 492.3 MB, free: 0.6133 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.702/1.702, allocations: 221.3 MB / 0.7871 GB, free: 12.87 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.000817/0.0008169, allocations: 95.33 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.101e-05/3.114e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2886, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.036/1.325, allocations: 149 MB / 1.358 GB, free: 19.13 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/1.325, allocations: 71.19 kB / 1.358 GB, free: 19.13 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003288/1.328, allocations: 0.9439 MB / 1.359 GB, free: 34.79 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.024e-06/1.328, allocations: 0 / 1.359 GB, free: 34.79 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.855e-06/1.328, allocations: 0 / 1.359 GB, free: 34.79 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003475/1.329, allocations: 349.8 kB / 1.359 GB, free: 34.44 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/1.329, allocations: 8.391 kB / 1.359 GB, free: 34.44 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/1.329, allocations: 7.812 kB / 1.359 GB, free: 34.43 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/1.329, allocations: 167.5 kB / 1.359 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/1.329, allocations: 2.812 kB / 1.359 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/1.329, allocations: 3.688 kB / 1.359 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/1.329, allocations: 56.97 kB / 1.359 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/1.329, allocations: 0 / 1.359 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/1.329, allocations: 4.781 kB / 1.359 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/1.329, allocations: 5.266 kB / 1.359 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.921e-05/1.329, allocations: 27.42 kB / 1.36 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000424/1.33, allocations: 284.6 kB / 1.36 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.829e-05/1.33, allocations: 59.25 kB / 1.36 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.557e-05/1.33, allocations: 19.69 kB / 1.36 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/1.33, allocations: 0 / 1.36 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.422e-05/1.33, allocations: 36.3 kB / 1.36 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/1.33, allocations: 0 / 1.36 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001785/1.33, allocations: 58.7 kB / 1.36 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/1.33, allocations: 52.11 kB / 1.36 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.307e-05/1.33, allocations: 110 kB / 1.36 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/1.33, allocations: 33.39 kB / 1.36 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.158e-05/1.33, allocations: 84.84 kB / 1.36 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/1.33, allocations: 12.83 kB / 1.36 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/1.33, allocations: 0 / 1.36 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.227e-05/1.33, allocations: 312.4 kB / 1.361 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.789e-05/1.33, allocations: 19.16 kB / 1.361 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.227e-05/1.33, allocations: 12.02 kB / 1.361 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.073e-05/1.33, allocations: 9.422 kB / 1.361 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/1.33, allocations: 4 kB / 1.361 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.777e-05/1.331, allocations: 57.41 kB / 1.361 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/1.331, allocations: 8.656 kB / 1.361 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/1.331, allocations: 0 / 1.361 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/1.331, allocations: 0.7031 kB / 1.361 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/1.331, allocations: 11.67 kB / 1.361 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/1.331, allocations: 3.875 kB / 1.361 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.601e-05/1.331, allocations: 10.66 kB / 1.361 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/1.331, allocations: 12.48 kB / 1.361 GB, free: 33.16 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: 2 (intLesEquThr.u,intLesEquThr.y) * Number of discrete 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 6.02e-05/1.331, allocations: 112.7 kB / 1.361 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/1.331, allocations: 6.125 kB / 1.361 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.017e-05/1.331, allocations: 8.609 kB / 1.361 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/1.331, allocations: 0 / 1.361 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.331, allocations: 0.75 kB / 1.361 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/1.331, allocations: 0 / 1.361 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/1.331, allocations: 174.6 kB / 1.361 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.331, allocations: 0.6094 kB / 1.361 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.065e-05/1.331, allocations: 19.91 kB / 1.361 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/1.331, allocations: 0 / 1.361 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/1.331, allocations: 0.7969 kB / 1.361 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/1.331, allocations: 0.5469 kB / 1.361 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/1.331, allocations: 3.938 kB / 1.361 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/1.332, allocations: 162.4 kB / 1.361 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.232e-05/1.332, allocations: 81.7 kB / 1.361 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/1.332, allocations: 4 kB / 1.361 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/1.332, allocations: 14.78 kB / 1.361 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.962e-05/1.332, allocations: 15.55 kB / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/1.332, allocations: 3.141 kB / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.221e-05/1.332, allocations: 92.09 kB / 1.361 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.332, allocations: 0 / 1.361 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000196/1.332, allocations: 11.28 kB / 1.361 GB, free: 32.51 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: 2 (intLesEquThr.u,intLesEquThr.y) * Number of discrete 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.0001321/1.332, allocations: 109.6 kB / 1.361 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.86e-05/1.332, allocations: 29.11 kB / 1.361 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/1.332, allocations: 0 / 1.361 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.518e-05/1.332, allocations: 22.48 kB / 1.362 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/1.332, allocations: 12.38 kB / 1.362 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002528/1.333, allocations: 75.02 kB / 1.362 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/1.333, allocations: 0.6829 MB / 1.362 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.855e-05/1.333, allocations: 11.45 kB / 1.362 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.596e-05/1.333, allocations: 8.703 kB / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.333, allocations: 0 / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of Templates: time 0.002749/1.336, allocations: 0.7402 MB / 1.363 GB, free: 31.58 MB / 0.8386 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