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.17/2.17, allocations: 390.3 MB / 402.8 MB, free: 6.668 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.001089/0.001089, allocations: 184.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.627/1.627, allocations: 221.3 MB / 0.7915 GB, free: 5.441 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.0009669/0.0009669, allocations: 99.69 kB / 0.9317 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.444e-05/3.447e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3509, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.353/1.703, allocations: 149.8 MB / 1.365 GB, free: 4.25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/1.704, allocations: 68.66 kB / 1.365 GB, free: 4.215 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003516/1.707, allocations: 0.9497 MB / 1.366 GB, free: 3.359 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.234e-06/1.707, allocations: 0 / 1.366 GB, free: 3.359 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.778e-06/1.707, allocations: 4 kB / 1.366 GB, free: 3.355 MB / 0.823 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.0005229/1.708, allocations: 351 kB / 1.366 GB, free: 2.973 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.258e-05/1.708, allocations: 8.031 kB / 1.366 GB, free: 2.965 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.837e-05/1.708, allocations: 8.531 kB / 1.366 GB, free: 2.957 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/1.708, allocations: 167 kB / 1.367 GB, free: 2.754 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/1.708, allocations: 3.438 kB / 1.367 GB, free: 2.754 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/1.708, allocations: 4.875 kB / 1.367 GB, free: 2.75 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/1.708, allocations: 52.67 kB / 1.367 GB, free: 2.699 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/1.708, allocations: 0 / 1.367 GB, free: 2.699 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/1.709, allocations: 0 / 1.367 GB, free: 2.699 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/1.709, allocations: 0 / 1.367 GB, free: 2.699 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/1.709, allocations: 37.61 kB / 1.367 GB, free: 2.672 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005519/1.709, allocations: 291.5 kB / 1.367 GB, free: 2.355 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/1.709, allocations: 47.52 kB / 1.367 GB, free: 2.312 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.605e-05/1.709, allocations: 23.83 kB / 1.367 GB, free: 2.289 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/1.709, allocations: 7.984 kB / 1.367 GB, free: 2.281 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/1.71, allocations: 33.81 kB / 1.367 GB, free: 2.242 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/1.71, allocations: 0 / 1.367 GB, free: 2.242 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0002336/1.71, allocations: 56.19 kB / 1.367 GB, free: 2.188 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/1.71, allocations: 55.36 kB / 1.367 GB, free: 2.121 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.988e-05/1.71, allocations: 99.81 kB / 1.367 GB, free: 2.023 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/1.71, allocations: 29.69 kB / 1.367 GB, free: 1.988 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/1.71, allocations: 90.86 kB / 1.367 GB, free: 1.898 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/1.71, allocations: 7.906 kB / 1.367 GB, free: 1.891 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-06/1.71, allocations: 0 / 1.367 GB, free: 1.891 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001477/1.71, allocations: 321.9 kB / 1.368 GB, free: 1.57 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.07e-05/1.71, allocations: 11.3 kB / 1.368 GB, free: 1.562 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.074e-05/1.71, allocations: 18.5 kB / 1.368 GB, free: 1.551 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.439e-05/1.71, allocations: 4 kB / 1.368 GB, free: 1.547 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/1.71, allocations: 4 kB / 1.368 GB, free: 1.543 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001394/1.711, allocations: 56.69 kB / 1.368 GB, free: 1.492 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/1.711, allocations: 8 kB / 1.368 GB, free: 1.484 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/1.711, allocations: 0.5469 kB / 1.368 GB, free: 1.484 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/1.711, allocations: 7.984 kB / 1.368 GB, free: 1.477 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/1.711, allocations: 11.98 kB / 1.368 GB, free: 1.465 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/1.711, allocations: 0 / 1.368 GB, free: 1.465 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.548e-05/1.711, allocations: 11.95 kB / 1.368 GB, free: 1.453 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/1.711, allocations: 7.984 kB / 1.368 GB, free: 1.445 MB / 0.823 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 0.0001042/1.711, allocations: 108.3 kB / 1.368 GB, free: 1.336 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/1.711, allocations: 7.906 kB / 1.368 GB, free: 1.328 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/1.711, allocations: 8.031 kB / 1.368 GB, free: 1.316 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/1.711, allocations: 3.938 kB / 1.368 GB, free: 1.312 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.711, allocations: 4.5 kB / 1.368 GB, free: 1.309 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.711, allocations: 0 / 1.368 GB, free: 1.309 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/1.711, allocations: 178.5 kB / 1.368 GB, free: 1.094 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.711, allocations: 0 / 1.368 GB, free: 1.094 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/1.712, allocations: 18.73 kB / 1.368 GB, free: 1.082 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/1.712, allocations: 0 / 1.368 GB, free: 1.082 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/1.712, allocations: 4 kB / 1.368 GB, free: 1.078 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/1.712, allocations: 4 kB / 1.368 GB, free: 1.074 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/1.712, allocations: 0 / 1.368 GB, free: 1.074 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/1.712, allocations: 157.4 kB / 1.368 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-05/1.712, allocations: 81.02 kB / 1.368 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/1.712, allocations: 0 / 1.368 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/1.712, allocations: 11.98 kB / 1.368 GB, free: 0.8047 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.544e-05/1.712, allocations: 15.67 kB / 1.368 GB, free: 0.793 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/1.712, allocations: 0 / 1.368 GB, free: 0.793 MB / 0.823 GB Notification: Performance of sorting global known variables: time 6.09e-05/1.712, allocations: 95.33 kB / 1.368 GB, free: 0.7031 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.31e-07/1.712, allocations: 0 / 1.368 GB, free: 0.7031 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003569/1.713, allocations: 8 kB / 1.368 GB, free: 0.6953 MB / 0.823 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.0001564/1.713, allocations: 107.3 kB / 1.369 GB, free: 0.5859 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001438/1.713, allocations: 30.36 kB / 1.369 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/1.713, allocations: 0 / 1.369 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.544e-05/1.713, allocations: 31.17 kB / 1.369 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/1.713, allocations: 9.266 kB / 1.369 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003217/1.714, allocations: 83.73 kB / 1.369 GB, free: 444 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/1.714, allocations: 0.6848 MB / 1.369 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.748e-05/1.714, allocations: 8 kB / 1.369 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.871e-05/1.714, allocations: 18.92 kB / 1.369 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of SimCode: time 6.81e-07/1.714, allocations: 0 / 1.369 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of Templates: time 0.003657/1.718, allocations: 0.744 MB / 1.37 GB, free: 14.97 MB / 0.8386 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