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.001197/0.001197, allocations: 103.1 kB / 16.27 MB, free: 5.898 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.001169/0.001169, allocations: 186.9 kB / 17.19 MB, free: 5.543 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.34/1.34, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.607/2.607, allocations: 482.4 MB / 0.7553 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 63.06 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7041/0.706, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002042/0.7081, allocations: 0.7017 MB / 1.084 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008964/0.709, allocations: 0.8356 MB / 1.084 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.133e-05/0.7091, allocations: 0.8125 kB / 1.084 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.037e-05/0.7091, allocations: 5.656 kB / 1.084 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.012e-05/0.7092, allocations: 8.641 kB / 1.084 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001237/0.7093, allocations: 22.66 kB / 1.084 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.875e-05/0.7094, allocations: 47.94 kB / 1.085 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.7095, allocations: 16.92 kB / 1.085 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.132e-05/0.7096, allocations: 22.55 kB / 1.085 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.8e-05/0.7096, allocations: 20.53 kB / 1.085 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.7096, allocations: 4.25 kB / 1.085 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.372e-05/0.7097, allocations: 4.906 kB / 1.085 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.7097, allocations: 16.27 kB / 1.085 GB, free: 496 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.392e-05/0.7097, allocations: 17.89 kB / 1.085 GB, free: 484 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.836e-05/0.7098, allocations: 50.88 kB / 1.085 GB, free: 460 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.7098, allocations: 0 / 1.085 GB, free: 460 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7098, allocations: 0 / 1.085 GB, free: 460 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.7099, allocations: 1.219 kB / 1.085 GB, free: 460 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.0004258/0.7103, allocations: 355.9 kB / 1.085 GB, free: 88 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.7103, allocations: 9.719 kB / 1.085 GB, free: 88 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.7104, allocations: 7.656 kB / 1.085 GB, free: 84 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.7105, allocations: 164 kB / 1.085 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.7105, allocations: 6.156 kB / 1.085 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.7106, allocations: 3.5 kB / 1.085 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.7108, allocations: 71.78 kB / 1.085 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.7108, allocations: 4 kB / 1.085 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.7108, allocations: 5.016 kB / 1.085 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.7108, allocations: 0.75 kB / 1.085 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/0.711, allocations: 57.12 kB / 1.085 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004479/0.7115, allocations: 283.4 kB / 1.086 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.7117, allocations: 73.94 kB / 1.086 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.7118, allocations: 33.03 kB / 1.086 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.7119, allocations: 5.375 kB / 1.086 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.7119, allocations: 32.28 kB / 1.086 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.7119, allocations: 0 / 1.086 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0004303/0.7124, allocations: 113 kB / 1.086 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.7124, allocations: 52.72 kB / 1.086 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.145e-05/0.7125, allocations: 106.5 kB / 1.086 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.7125, allocations: 26.86 kB / 1.086 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.586e-05/0.7126, allocations: 90.44 kB / 1.086 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.7126, allocations: 11.19 kB / 1.086 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.7127, allocations: 19.94 kB / 1.086 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.7128, allocations: 321.6 kB / 1.086 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.7129, allocations: 26.47 kB / 1.086 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.323e-05/0.713, allocations: 22.17 kB / 1.086 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.7132, allocations: 50.05 kB / 1.087 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.7132, allocations: 4 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002538/0.7135, allocations: 92.05 kB / 1.087 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.7135, allocations: 5.781 kB / 1.087 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.7135, allocations: 0 / 1.087 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.7135, allocations: 1.531 kB / 1.087 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.7137, allocations: 14.95 kB / 1.087 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.7137, allocations: 0.6875 kB / 1.087 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.19e-05/0.7138, allocations: 7.422 kB / 1.087 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.7138, allocations: 2.344 kB / 1.087 GB, free: 14.65 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 8.891e-05/0.7139, allocations: 117.1 kB / 1.087 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.7139, allocations: 5.719 kB / 1.087 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.437e-05/0.7139, allocations: 6.609 kB / 1.087 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.7139, allocations: 0.75 kB / 1.087 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.7139, allocations: 0 / 1.087 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.714, allocations: 1.578 kB / 1.087 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.7142, allocations: 174.1 kB / 1.087 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.7142, allocations: 336 / 1.087 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.161e-05/0.7143, allocations: 19.52 kB / 1.087 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.7143, allocations: 5 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.7143, allocations: 1.359 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.7143, allocations: 2.125 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.7143, allocations: 3.938 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.7146, allocations: 187.8 kB / 1.087 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.316e-05/0.7147, allocations: 79.31 kB / 1.087 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.7147, allocations: 5.344 kB / 1.087 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.938e-05/0.7148, allocations: 10.47 kB / 1.087 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.7149, allocations: 11.48 kB / 1.087 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.7149, allocations: 1.938 kB / 1.087 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.197e-05/0.7149, allocations: 88.45 kB / 1.087 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7149, allocations: 0 / 1.087 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002143/0.7152, allocations: 7.062 kB / 1.087 GB, free: 13.96 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.0001135/0.7153, allocations: 102.2 kB / 1.087 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002759/0.7156, allocations: 65.34 kB / 1.088 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.7156, allocations: 0 / 1.088 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.7157, allocations: 27.97 kB / 1.088 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.716, allocations: 9.328 kB / 1.088 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.7164, allocations: 170.2 kB / 1.088 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.7167, allocations: 0.682 MB / 1.088 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.432e-05/0.7168, allocations: 12.23 kB / 1.088 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of SimCode: time 2.204e-06/0.7168, allocations: 0 / 1.088 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of Templates: time 0.002365/0.7191, allocations: 0.8186 MB / 1.089 GB, free: 12.93 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