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/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 105.2 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 198.9 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.893/2.893, allocations: 482.4 MB / 0.755 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 67.56 kB / 0.924 GB, free: 316 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8354/0.8374, allocations: 162.2 MB / 1.082 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002007/0.8395, allocations: 0.7588 MB / 1.083 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008802/0.8404, allocations: 0.8324 MB / 1.084 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.989e-05/0.8404, allocations: 0.6875 kB / 1.084 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.672e-05/0.8405, allocations: 0.7031 kB / 1.084 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.684e-05/0.8406, allocations: 5.453 kB / 1.084 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001321/0.8407, allocations: 24.61 kB / 1.084 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.022e-05/0.8408, allocations: 45.34 kB / 1.084 GB, free: 488 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.8409, allocations: 16.38 kB / 1.084 GB, free: 480 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.964e-05/0.841, allocations: 17.88 kB / 1.084 GB, free: 472 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.931e-05/0.8411, allocations: 29.22 kB / 1.084 GB, free: 456 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.8411, allocations: 3.375 kB / 1.084 GB, free: 456 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.57e-05/0.8411, allocations: 5.188 kB / 1.084 GB, free: 456 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.8411, allocations: 11.27 kB / 1.084 GB, free: 448 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.08e-05/0.8412, allocations: 18.83 kB / 1.084 GB, free: 436 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.243e-05/0.8413, allocations: 34.89 kB / 1.084 GB, free: 424 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.8413, allocations: 0.8125 kB / 1.084 GB, free: 424 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.432e-06/0.8413, allocations: 4 kB / 1.084 GB, free: 420 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.8413, allocations: 0 / 1.084 GB, free: 420 kB / 0.8262 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.0004731/0.8418, allocations: 357.2 kB / 1.085 GB, free: 48 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.8418, allocations: 8.469 kB / 1.085 GB, free: 48 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.8418, allocations: 7.656 kB / 1.085 GB, free: 44 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.842, allocations: 176.9 kB / 1.085 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.842, allocations: 1.906 kB / 1.085 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.8421, allocations: 2.375 kB / 1.085 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.8423, allocations: 73.39 kB / 1.085 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.8423, allocations: 0 / 1.085 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.8424, allocations: 0.9375 kB / 1.085 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.8424, allocations: 1.453 kB / 1.085 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002174/0.8426, allocations: 55.8 kB / 1.085 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005084/0.8431, allocations: 295.6 kB / 1.085 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.8433, allocations: 62.11 kB / 1.085 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.8434, allocations: 28.62 kB / 1.085 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.8435, allocations: 5.406 kB / 1.085 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.8435, allocations: 32.53 kB / 1.085 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.432e-06/0.8435, allocations: 4 kB / 1.085 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0004314/0.8439, allocations: 108.8 kB / 1.085 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.844, allocations: 53.05 kB / 1.085 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.273e-05/0.8441, allocations: 107.3 kB / 1.086 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.8441, allocations: 25.7 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.214e-05/0.8442, allocations: 91.3 kB / 1.086 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.8442, allocations: 18.3 kB / 1.086 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.8443, allocations: 19.67 kB / 1.086 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.8444, allocations: 321.7 kB / 1.086 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.8445, allocations: 22.97 kB / 1.086 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.436e-05/0.8446, allocations: 22.64 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.8448, allocations: 50.8 kB / 1.086 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.8448, allocations: 4 kB / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000246/0.8451, allocations: 94.69 kB / 1.086 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.8451, allocations: 6.469 kB / 1.086 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.8451, allocations: 0 / 1.086 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.8451, allocations: 1.406 kB / 1.086 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.8453, allocations: 11.67 kB / 1.086 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.8453, allocations: 0 / 1.086 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.233e-05/0.8454, allocations: 8.688 kB / 1.086 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.8454, allocations: 5.125 kB / 1.086 GB, free: 14.61 MB / 0.8419 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 (reaToInt.y,intGreEquThr.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.456e-05/0.8455, allocations: 117.8 kB / 1.086 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.8455, allocations: 2.625 kB / 1.086 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.8455, allocations: 6.25 kB / 1.086 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.8455, allocations: 0 / 1.086 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.8456, allocations: 0.75 kB / 1.086 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.8456, allocations: 1.406 kB / 1.086 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.8458, allocations: 181.7 kB / 1.086 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8458, allocations: 0 / 1.086 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.623e-05/0.8459, allocations: 21.08 kB / 1.087 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.8459, allocations: 0 / 1.087 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.8459, allocations: 2.25 kB / 1.087 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.8459, allocations: 0 / 1.087 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.8459, allocations: 0 / 1.087 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000325/0.8463, allocations: 183.7 kB / 1.087 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/0.8463, allocations: 83.92 kB / 1.087 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.8463, allocations: 4.781 kB / 1.087 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.8465, allocations: 7.25 kB / 1.087 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/0.8465, allocations: 11.8 kB / 1.087 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.8465, allocations: 2.078 kB / 1.087 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.751e-05/0.8466, allocations: 87.23 kB / 1.087 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.247e-06/0.8466, allocations: 0 / 1.087 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002177/0.8468, allocations: 10.53 kB / 1.087 GB, free: 13.93 MB / 0.8419 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.y,reaToInt.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001439/0.847, allocations: 111.8 kB / 1.087 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002694/0.8472, allocations: 55.95 kB / 1.087 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.8473, allocations: 0 / 1.087 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.8474, allocations: 28.23 kB / 1.087 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.8477, allocations: 7.844 kB / 1.087 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004038/0.8481, allocations: 183.6 kB / 1.087 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.8484, allocations: 0.6814 MB / 1.088 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.037e-05/0.8485, allocations: 12.59 kB / 1.088 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.8485, allocations: 0 / 1.088 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of Templates: time 0.00264/0.8511, allocations: 0.8197 MB / 1.089 GB, free: 12.88 MB / 0.8419 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=400 -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches