Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001105/0.001104, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001252/0.001252, allocations: 195 kB / 16.14 MB, free: 6.648 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.407/1.407, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.576/2.576, allocations: 390.2 MB / 0.6642 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 64.09 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7987/0.8002, allocations: 140.4 MB / 0.9489 GB, free: 9.305 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002892/0.8032, allocations: 0.758 MB / 0.9497 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001481/0.8047, allocations: 0.8366 MB / 0.9505 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.852e-05/0.8048, allocations: 1.406 kB / 0.9505 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.388e-05/0.8048, allocations: 0 / 0.9505 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.805, allocations: 7.922 kB / 0.9505 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.8052, allocations: 21.3 kB / 0.9505 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.8053, allocations: 37.36 kB / 0.9505 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.8055, allocations: 22.81 kB / 0.9506 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.581e-05/0.8055, allocations: 19.47 kB / 0.9506 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.277e-05/0.8056, allocations: 21.62 kB / 0.9506 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.8057, allocations: 2.406 kB / 0.9506 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.738e-05/0.8057, allocations: 2.969 kB / 0.9506 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.857e-05/0.8057, allocations: 18.03 kB / 0.9506 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.384e-05/0.8058, allocations: 11.25 kB / 0.9506 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.8059, allocations: 51.11 kB / 0.9507 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.8059, allocations: 1.594 kB / 0.9507 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8059, allocations: 0 / 0.9507 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.8059, allocations: 0 / 0.9507 GB, free: 7.887 MB / 0.7169 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.0005561/0.8065, allocations: 364 kB / 0.951 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.8065, allocations: 10.44 kB / 0.951 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.8066, allocations: 2.312 kB / 0.9511 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.8067, allocations: 170.5 kB / 0.9512 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.8068, allocations: 2.719 kB / 0.9512 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.8068, allocations: 5.844 kB / 0.9512 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.807, allocations: 72.17 kB / 0.9513 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.807, allocations: 1.094 kB / 0.9513 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.807, allocations: 4 kB / 0.9513 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.807, allocations: 1.562 kB / 0.9513 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.8072, allocations: 50.67 kB / 0.9513 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.8077, allocations: 282 kB / 0.9516 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.8079, allocations: 68.94 kB / 0.9517 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.808, allocations: 29.5 kB / 0.9517 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.8081, allocations: 1.5 kB / 0.9517 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.8081, allocations: 43.77 kB / 0.9518 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.8081, allocations: 0 / 0.9518 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004335/0.8085, allocations: 109 kB / 0.9519 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.8086, allocations: 51.41 kB / 0.9519 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.97e-05/0.8087, allocations: 115.5 kB / 0.952 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.8087, allocations: 25.7 kB / 0.952 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.085e-05/0.8087, allocations: 83.7 kB / 0.9521 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.8087, allocations: 19.81 kB / 0.9521 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/0.8088, allocations: 18.8 kB / 0.9522 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.881e-05/0.8089, allocations: 324.2 kB / 0.9525 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.809, allocations: 24.66 kB / 0.9525 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.97e-05/0.8091, allocations: 23.64 kB / 0.9525 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.8093, allocations: 58.59 kB / 0.9526 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.8093, allocations: 4 kB / 0.9526 GB, free: 6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002417/0.8095, allocations: 85.48 kB / 0.9527 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.8095, allocations: 4.125 kB / 0.9527 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.8096, allocations: 5.312 kB / 0.9527 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.8096, allocations: 0 / 0.9527 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.8097, allocations: 12.23 kB / 0.9527 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.8097, allocations: 0 / 0.9527 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.547e-05/0.8098, allocations: 8.109 kB / 0.9527 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.8098, allocations: 1.375 kB / 0.9527 GB, free: 5.93 MB / 0.7169 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 7.298e-05/0.8099, allocations: 124.5 kB / 0.9528 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.8099, allocations: 6.656 kB / 0.9528 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.57e-05/0.81, allocations: 11.89 kB / 0.9528 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.81, allocations: 1.375 kB / 0.9528 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.81, allocations: 0 / 0.9528 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.81, allocations: 0 / 0.9528 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.8102, allocations: 172.5 kB / 0.953 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.8102, allocations: 3.984 kB / 0.953 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.224e-05/0.8103, allocations: 11.83 kB / 0.953 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.8103, allocations: 0 / 0.953 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.8103, allocations: 4.906 kB / 0.953 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.8103, allocations: 1.094 kB / 0.953 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8103, allocations: 0 / 0.953 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.8106, allocations: 180.5 kB / 0.9532 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.972e-05/0.8106, allocations: 86.83 kB / 0.9533 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.8107, allocations: 4 kB / 0.9533 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.8108, allocations: 13.33 kB / 0.9533 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.979e-05/0.8109, allocations: 7.578 kB / 0.9533 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.8109, allocations: 1.031 kB / 0.9533 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.667e-05/0.8109, allocations: 89.83 kB / 0.9534 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8109, allocations: 0 / 0.9534 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002221/0.8111, allocations: 6.188 kB / 0.9534 GB, free: 5.203 MB / 0.7169 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.0001304/0.8113, allocations: 109.9 kB / 0.9535 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002553/0.8115, allocations: 54.2 kB / 0.9535 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8115, allocations: 0 / 0.9535 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.8117, allocations: 35.44 kB / 0.9536 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.812, allocations: 11.47 kB / 0.9536 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.8124, allocations: 144.5 kB / 0.9537 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.8125, allocations: 0.6805 MB / 0.9544 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.975e-05/0.8126, allocations: 6.703 kB / 0.9544 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.8126, allocations: 10.19 kB / 0.9544 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of SimCode: time 5.81e-07/0.8126, allocations: 1.281 kB / 0.9544 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of Templates: time 0.003645/0.8163, allocations: 0.7846 MB / 0.9552 GB, free: 3.793 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches