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.001677/0.001677, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002149/0.00215, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.52/1.52, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.143/3.143, allocations: 472.7 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 67.75 kB / 0.9121 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4659/0.4672, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.003769/0.471, allocations: 0.6995 MB / 1.069 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002051/0.4731, allocations: 0.8411 MB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.4733, allocations: 0 / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.238e-05/0.4734, allocations: 3.984 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.4735, allocations: 7.938 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.4739, allocations: 27.91 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.4741, allocations: 43.84 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002393/0.4743, allocations: 16 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.4745, allocations: 19.92 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.4746, allocations: 27.89 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.311e-05/0.4747, allocations: 4 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.241e-05/0.4747, allocations: 8 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.011e-05/0.4747, allocations: 8 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.605e-05/0.4748, allocations: 19.86 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.475, allocations: 51.84 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.475, allocations: 0 / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.775e-06/0.475, allocations: 0 / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.4751, allocations: 0 / 1.07 GB, free: 8.625 MB / 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.000858/0.4759, allocations: 351.7 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001054/0.476, allocations: 8.031 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.316e-05/0.4761, allocations: 12.84 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.4764, allocations: 168.3 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.4764, allocations: 4.375 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.4764, allocations: 384 / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.4767, allocations: 69.78 kB / 1.071 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.4767, allocations: 0 / 1.071 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.4767, allocations: 0 / 1.071 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.4768, allocations: 0 / 1.071 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002372/0.477, allocations: 59.94 kB / 1.071 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000662/0.4777, allocations: 300.6 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.4779, allocations: 58.55 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.4781, allocations: 36.84 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.4781, allocations: 4 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.4782, allocations: 30.56 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.4782, allocations: 3.938 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0005208/0.4787, allocations: 113.5 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.4787, allocations: 55.39 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.4789, allocations: 109.8 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.4789, allocations: 25.7 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.62e-05/0.479, allocations: 96.03 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.479, allocations: 3.906 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.4791, allocations: 21.7 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001971/0.4793, allocations: 322.8 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.4794, allocations: 19.98 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.357e-05/0.4795, allocations: 31.97 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.4797, allocations: 48.81 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4797, allocations: 0 / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002542/0.48, allocations: 93.48 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.48, allocations: 5.719 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.48, allocations: 0 / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.4801, allocations: 8 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.4802, allocations: 11.98 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.4802, allocations: 0 / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.016e-05/0.4803, allocations: 7.984 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.4803, allocations: 0 / 1.072 GB, free: 6.363 MB / 0.8262 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 0.0001036/0.4804, allocations: 117.8 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.4805, allocations: 0 / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.746e-05/0.4805, allocations: 7.906 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.4805, allocations: 4 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.4805, allocations: 0 / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.4805, allocations: 0 / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.4807, allocations: 181.5 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4808, allocations: 4 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.457e-05/0.4808, allocations: 11.92 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4809, allocations: 7.938 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.4809, allocations: 0 / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4809, allocations: 0 / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4809, allocations: 0 / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.4812, allocations: 187.3 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.611e-05/0.4812, allocations: 85.09 kB / 1.073 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.4813, allocations: 0 / 1.073 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.473e-05/0.4814, allocations: 4 kB / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.613e-05/0.4815, allocations: 11.98 kB / 1.073 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.4815, allocations: 3.984 kB / 1.073 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.659e-05/0.4815, allocations: 91.28 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4815, allocations: 0 / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002142/0.4818, allocations: 7.938 kB / 1.073 GB, free: 5.551 MB / 0.8262 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.0001761/0.4819, allocations: 108 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002784/0.4822, allocations: 63.92 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4822, allocations: 0 / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.4824, allocations: 31.97 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.4827, allocations: 10.41 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004372/0.4832, allocations: 141.4 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.4835, allocations: 0.6807 MB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.529e-05/0.4836, allocations: 8 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.701e-05/0.4837, allocations: 15.44 kB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.4837, allocations: 0 / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of Templates: time 0.004103/0.4878, allocations: 0.8905 MB / 1.075 GB, free: 3.559 MB / 0.8262 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","/var/lib/jenkins/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