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.001175/0.001175, allocations: 103.6 kB / 16.36 MB, free: 5.875 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.001205/0.001205, allocations: 199.2 kB / 17.3 MB, free: 5.516 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.46/1.46, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.673/2.673, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 67.97 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3498, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002318/0.3521, allocations: 0.717 MB / 1.027 GB, free: 1.352 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.3532, allocations: 0.8273 MB / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.064e-05/0.3532, allocations: 4 kB / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.233e-05/0.3533, allocations: 3.938 kB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.054e-05/0.3534, allocations: 7.938 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.3535, allocations: 23.91 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.874e-05/0.3536, allocations: 51.84 kB / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.3538, allocations: 15.98 kB / 1.028 GB, free: 416 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.131e-05/0.3538, allocations: 19.92 kB / 1.028 GB, free: 396 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.357e-05/0.3539, allocations: 27.91 kB / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.3539, allocations: 4 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.177e-05/0.354, allocations: 4 kB / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.346e-05/0.354, allocations: 15.98 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.354, allocations: 15.88 kB / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.3541, allocations: 47.84 kB / 1.028 GB, free: 280 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3541, allocations: 0 / 1.028 GB, free: 280 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3541, allocations: 0 / 1.028 GB, free: 280 kB / 0.795 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.3542, allocations: 0 / 1.028 GB, free: 280 kB / 0.795 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.0005423/0.3547, allocations: 355.4 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.3547, allocations: 8.031 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.3548, allocations: 8.844 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.3549, allocations: 168.3 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.355, allocations: 8.375 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.355, allocations: 384 / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.3552, allocations: 73.72 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3552, allocations: 4 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.3552, allocations: 0 / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.3552, allocations: 0 / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/0.3554, allocations: 55.95 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.3559, allocations: 300.6 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.3561, allocations: 62.55 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.3562, allocations: 36.91 kB / 1.03 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.3563, allocations: 3.938 kB / 1.03 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.3563, allocations: 34.56 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3563, allocations: 0 / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004138/0.3567, allocations: 105.6 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.3568, allocations: 55.41 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.495e-05/0.3569, allocations: 110.1 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.3569, allocations: 25.7 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.093e-05/0.3569, allocations: 92.05 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.357, allocations: 7.891 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.357, allocations: 17.72 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.3571, allocations: 314.8 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.693e-05/0.3572, allocations: 23.97 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.158e-05/0.3573, allocations: 35.97 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.3575, allocations: 44.83 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.3575, allocations: 3.984 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002199/0.3577, allocations: 81.59 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3578, allocations: 4 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3578, allocations: 0 / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3578, allocations: 4 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.3579, allocations: 11.98 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.3579, allocations: 4.062 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.15e-05/0.358, allocations: 15.98 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.358, allocations: 0 / 1.03 GB, free: 14.02 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.122e-05/0.3581, allocations: 113.8 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.3581, allocations: 7.891 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.3582, allocations: 11.84 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.3582, allocations: 8 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3582, allocations: 0 / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3582, allocations: 0 / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.3584, allocations: 177.5 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3584, allocations: 0 / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.029e-05/0.3585, allocations: 19.92 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3585, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.3585, allocations: 4 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3585, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3585, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.3588, allocations: 191.7 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.3588, allocations: 77.11 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.3589, allocations: 4 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.885e-05/0.359, allocations: 11.98 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.463e-05/0.359, allocations: 11.98 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.3591, allocations: 0 / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.173e-05/0.3591, allocations: 95.2 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3591, allocations: 0 / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002202/0.3594, allocations: 8 kB / 1.031 GB, free: 13.19 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.0001414/0.3595, allocations: 103.2 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002558/0.3598, allocations: 55.89 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3598, allocations: 0 / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.3599, allocations: 35.97 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.3602, allocations: 9.375 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003531/0.3605, allocations: 129.6 kB / 1.031 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.3608, allocations: 0.6883 MB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.149e-05/0.3609, allocations: 8 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.361e-05/0.3609, allocations: 15.42 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of SimCode: time 4.1e-07/0.3609, allocations: 0 / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of Templates: time 0.003132/0.364, allocations: 0.8816 MB / 1.033 GB, free: 11.21 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 -s cvode -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