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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001482/0.001482, allocations: 100.1 kB / 15.88 MB, free: 12 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.001752/0.001752, allocations: 200.6 kB / 16.79 MB, free: 6.809 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.411/1.411, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.76/2.76, allocations: 461.9 MB / 0.7348 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001308, allocations: 67.92 kB / 0.8991 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3431, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002605/0.3457, allocations: 0.7641 MB / 1.054 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.3469, allocations: 0.8391 MB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.651e-05/0.347, allocations: 0 / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.555e-05/0.3471, allocations: 3.938 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.265e-05/0.3472, allocations: 4 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.3474, allocations: 19.98 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.3475, allocations: 43.84 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.3476, allocations: 19.98 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.3477, allocations: 19.92 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.74e-05/0.3478, allocations: 19.91 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.3478, allocations: 4 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.591e-05/0.3479, allocations: 4 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.3479, allocations: 7.984 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.219e-05/0.3479, allocations: 23.8 kB / 1.054 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.821e-05/0.348, allocations: 27.94 kB / 1.055 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.348, allocations: 4 kB / 1.055 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.402e-06/0.348, allocations: 0 / 1.055 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.348, allocations: 0 / 1.055 GB, free: 6.441 MB / 0.8106 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.0006193/0.3487, allocations: 359.6 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.3487, allocations: 15.97 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.3488, allocations: 4.938 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.3489, allocations: 168.3 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.349, allocations: 384 / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.349, allocations: 4.375 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.3492, allocations: 77.75 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3493, allocations: 4 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.3493, allocations: 4 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3493, allocations: 0 / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.3495, allocations: 51.89 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005177/0.35, allocations: 288.7 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.3502, allocations: 70.56 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.3503, allocations: 24.89 kB / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.3504, allocations: 3.984 kB / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.3504, allocations: 38.5 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3504, allocations: 7.938 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004474/0.3509, allocations: 105.6 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.3509, allocations: 55.41 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.447e-05/0.351, allocations: 105.8 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.3511, allocations: 29.64 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.916e-05/0.3511, allocations: 84.14 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.3511, allocations: 11.81 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/0.3512, allocations: 21.7 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.3513, allocations: 322.8 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.3514, allocations: 23.97 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.831e-05/0.3515, allocations: 27.92 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.3517, allocations: 49.09 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3517, allocations: 0 / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002486/0.352, allocations: 93.62 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.352, allocations: 5.094 kB / 1.056 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.352, allocations: 0 / 1.056 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.352, allocations: 0 / 1.056 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.3522, allocations: 11.98 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.3522, allocations: 0 / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.917e-05/0.3523, allocations: 7.984 kB / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.3523, allocations: 4 kB / 1.057 GB, free: 4.18 MB / 0.8106 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.227e-05/0.3524, allocations: 121.7 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.3524, allocations: 7.906 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.3524, allocations: 7.891 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3525, allocations: 0 / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3525, allocations: 0 / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3525, allocations: 4 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.3527, allocations: 181.6 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.3527, allocations: 3.984 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.762e-05/0.3528, allocations: 11.98 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3528, allocations: 4 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.3528, allocations: 0 / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.3528, allocations: 4 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3528, allocations: 3.938 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.3532, allocations: 183.4 kB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.3532, allocations: 81.02 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.3532, allocations: 0 / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.3533, allocations: 11.98 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/0.3534, allocations: 11.98 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.3534, allocations: 4 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.454e-05/0.3535, allocations: 91.56 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3535, allocations: 0 / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002259/0.3537, allocations: 8 kB / 1.057 GB, free: 3.355 MB / 0.8106 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.0001634/0.3539, allocations: 103.2 kB / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002718/0.3542, allocations: 55.95 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3542, allocations: 0 / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.3543, allocations: 39.84 kB / 1.057 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.3547, allocations: 0 / 1.057 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004526/0.3551, allocations: 173 kB / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.3554, allocations: 0.6809 MB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.154e-05/0.3555, allocations: 11.42 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of SimCode: time 3.3e-07/0.3555, allocations: 0 / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of Templates: time 0.002582/0.3581, allocations: 0.8168 MB / 1.059 GB, free: 1.418 MB / 0.8106 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/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