Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.215/2.215, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001134/0.001134, allocations: 176.9 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.59/1.59, allocations: 221.3 MB / 0.7915 GB, free: 5.465 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.001024/0.001024, allocations: 83.97 kB / 0.9317 GB, free: 5.777 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.932e-05/3.933e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3361, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.972/1.308, allocations: 149.8 MB / 1.365 GB, free: 4.172 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/1.308, allocations: 69.27 kB / 1.365 GB, free: 4.133 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002785/1.311, allocations: 0.9402 MB / 1.366 GB, free: 3.285 MB / 0.823 GB Notification: Performance of FrontEnd: time 5.61e-06/1.311, allocations: 4 kB / 1.366 GB, free: 3.281 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.369e-05/1.311, allocations: 3.938 kB / 1.366 GB, free: 3.277 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.0004261/1.312, allocations: 344.6 kB / 1.366 GB, free: 2.902 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/1.312, allocations: 16.02 kB / 1.366 GB, free: 2.887 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/1.312, allocations: 8.531 kB / 1.366 GB, free: 2.879 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/1.312, allocations: 167 kB / 1.367 GB, free: 2.676 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/1.312, allocations: 0 / 1.367 GB, free: 2.676 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/1.312, allocations: 11.8 kB / 1.367 GB, free: 2.668 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/1.312, allocations: 52.17 kB / 1.367 GB, free: 2.617 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/1.312, allocations: 0 / 1.367 GB, free: 2.617 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/1.312, allocations: 0 / 1.367 GB, free: 2.617 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/1.312, allocations: 0 / 1.367 GB, free: 2.617 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.585e-05/1.312, allocations: 30.69 kB / 1.367 GB, free: 2.598 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004673/1.313, allocations: 291.2 kB / 1.367 GB, free: 2.281 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/1.313, allocations: 47.81 kB / 1.367 GB, free: 2.234 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.831e-05/1.313, allocations: 18.83 kB / 1.367 GB, free: 2.219 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/1.313, allocations: 8 kB / 1.367 GB, free: 2.211 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/1.313, allocations: 34.56 kB / 1.367 GB, free: 2.168 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/1.313, allocations: 4 kB / 1.367 GB, free: 2.164 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0001976/1.313, allocations: 54.39 kB / 1.367 GB, free: 2.113 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/1.313, allocations: 63.28 kB / 1.367 GB, free: 2.039 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.375e-05/1.313, allocations: 102.9 kB / 1.367 GB, free: 1.938 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/1.313, allocations: 25.7 kB / 1.367 GB, free: 1.906 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.343e-05/1.313, allocations: 91.11 kB / 1.367 GB, free: 1.816 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/1.314, allocations: 10.83 kB / 1.367 GB, free: 1.809 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/1.314, allocations: 0 / 1.367 GB, free: 1.809 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.314, allocations: 318.8 kB / 1.368 GB, free: 1.488 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.824e-05/1.314, allocations: 10.62 kB / 1.368 GB, free: 1.484 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.654e-05/1.314, allocations: 11.31 kB / 1.368 GB, free: 1.477 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.345e-05/1.314, allocations: 18.73 kB / 1.368 GB, free: 1.461 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.314, allocations: 0 / 1.368 GB, free: 1.461 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.691e-05/1.314, allocations: 54.5 kB / 1.368 GB, free: 1.41 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/1.314, allocations: 9.406 kB / 1.368 GB, free: 1.402 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/1.314, allocations: 0 / 1.368 GB, free: 1.402 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/1.314, allocations: 0 / 1.368 GB, free: 1.402 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/1.314, allocations: 15.98 kB / 1.368 GB, free: 1.387 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/1.314, allocations: 4 kB / 1.368 GB, free: 1.383 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.659e-05/1.314, allocations: 11.94 kB / 1.368 GB, free: 1.371 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/1.314, allocations: 4.875 kB / 1.368 GB, free: 1.367 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 (intGreEquThr.u,intGreEquThr.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 7.56e-05/1.314, allocations: 107.8 kB / 1.368 GB, free: 1.258 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/1.314, allocations: 3.906 kB / 1.368 GB, free: 1.254 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.968e-05/1.314, allocations: 10.91 kB / 1.368 GB, free: 1.242 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/1.314, allocations: 7.984 kB / 1.368 GB, free: 1.234 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/1.314, allocations: 3.938 kB / 1.368 GB, free: 1.23 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/1.314, allocations: 4.125 kB / 1.368 GB, free: 1.227 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/1.315, allocations: 174.2 kB / 1.368 GB, free: 1.016 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.315, allocations: 2.25 kB / 1.368 GB, free: 1.016 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.843e-05/1.315, allocations: 11.98 kB / 1.368 GB, free: 1.004 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/1.315, allocations: 3.984 kB / 1.368 GB, free: 1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/1.315, allocations: 7.984 kB / 1.368 GB, free: 0.9922 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/1.315, allocations: 0 / 1.368 GB, free: 0.9922 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/1.315, allocations: 4 kB / 1.368 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/1.315, allocations: 156.2 kB / 1.368 GB, free: 0.832 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.028e-05/1.315, allocations: 81.02 kB / 1.368 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/1.315, allocations: 3.984 kB / 1.368 GB, free: 0.7305 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/1.315, allocations: 8 kB / 1.368 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/1.315, allocations: 11.11 kB / 1.368 GB, free: 0.7148 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/1.315, allocations: 0 / 1.368 GB, free: 0.7148 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.607e-05/1.315, allocations: 94.14 kB / 1.368 GB, free: 0.625 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.6e-07/1.315, allocations: 3.938 kB / 1.368 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002087/1.315, allocations: 11.25 kB / 1.369 GB, free: 0.6133 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 (intGreEquThr.u,intGreEquThr.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.0001526/1.316, allocations: 99.25 kB / 1.369 GB, free: 0.5078 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001093/1.316, allocations: 37.42 kB / 1.369 GB, free: 492 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/1.316, allocations: 0 / 1.369 GB, free: 492 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.328e-05/1.316, allocations: 15.38 kB / 1.369 GB, free: 480 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/1.316, allocations: 19.27 kB / 1.369 GB, free: 464 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002774/1.316, allocations: 83.78 kB / 1.369 GB, free: 364 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/1.317, allocations: 0.6848 MB / 1.369 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.87e-05/1.317, allocations: 4 kB / 1.369 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/1.317, allocations: 11.44 kB / 1.369 GB, free: 15.63 MB / 0.8386 GB Notification: Performance of SimCode: time 3.6e-07/1.317, allocations: 4 kB / 1.369 GB, free: 15.63 MB / 0.8386 GB Notification: Performance of Templates: time 0.002972/1.32, allocations: 0.7496 MB / 1.37 GB, free: 14.9 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches