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.001296/0.001296, allocations: 108.6 kB / 15.73 MB, free: 76 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.001148/0.001148, allocations: 190.3 kB / 16.66 MB, free: 6.59 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.511/2.511, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 62.94 kB / 0.9508 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3489, allocations: 140.4 MB / 1.088 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002043/0.351, allocations: 0.6895 MB / 1.089 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.3521, allocations: 0.8354 MB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.642e-05/0.3522, allocations: 0 / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.422e-05/0.3522, allocations: 7.922 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.09e-05/0.3523, allocations: 3.938 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.3525, allocations: 23.92 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.3526, allocations: 55.83 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.3527, allocations: 12 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.92e-05/0.3528, allocations: 15.98 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.09e-05/0.3529, allocations: 31.84 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.3529, allocations: 4 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.285e-05/0.3529, allocations: 4 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.353, allocations: 11.97 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.122e-05/0.353, allocations: 19.88 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.3532, allocations: 51.78 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3532, allocations: 0 / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.715e-06/0.3532, allocations: 4 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.3532, allocations: 0 / 1.09 GB, free: 15.69 MB / 0.8575 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.0006485/0.3539, allocations: 355.3 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.3539, allocations: 12.03 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.354, allocations: 4.891 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.3541, allocations: 172.3 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.3542, allocations: 4.375 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.3542, allocations: 384 / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.3545, allocations: 77.58 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.3545, allocations: 0 / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.3545, allocations: 4 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.3545, allocations: 3.984 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002164/0.3547, allocations: 55.83 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005003/0.3552, allocations: 284.8 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.3555, allocations: 70.56 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.3556, allocations: 24.89 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.3556, allocations: 0 / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.3556, allocations: 38.48 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.3557, allocations: 0 / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004153/0.3561, allocations: 113.6 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.3561, allocations: 51.41 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.729e-05/0.3562, allocations: 113.8 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.3563, allocations: 29.7 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.89e-05/0.3563, allocations: 80.14 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.3564, allocations: 15.91 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.3564, allocations: 17.7 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3565, allocations: 322.8 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.939e-05/0.3566, allocations: 23.97 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.695e-05/0.3567, allocations: 23.92 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.3569, allocations: 56.75 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3569, allocations: 0 / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002279/0.3572, allocations: 89.64 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.3572, allocations: 4 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3572, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3572, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.3574, allocations: 11.98 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3574, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.019e-05/0.3574, allocations: 7.984 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.3575, allocations: 4 kB / 1.092 GB, free: 13.43 MB / 0.8575 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.00011/0.3576, allocations: 125.7 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.3576, allocations: 7.953 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.852e-05/0.3576, allocations: 11.89 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3577, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.3577, allocations: 4 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.3577, allocations: 4 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.3579, allocations: 173.5 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3579, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.312e-05/0.358, allocations: 12.31 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.358, allocations: 3.984 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.358, allocations: 4 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.358, allocations: 4 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.358, allocations: 0 / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.3583, allocations: 187.4 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.3584, allocations: 77.11 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.3584, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.3585, allocations: 11.98 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.3586, allocations: 15.92 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.3586, allocations: 4 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.805e-05/0.3587, allocations: 83.28 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3587, allocations: 0 / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002181/0.3589, allocations: 11.94 kB / 1.092 GB, free: 12.61 MB / 0.8575 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.0001335/0.359, allocations: 107.2 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000262/0.3593, allocations: 51.95 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3593, allocations: 0 / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.3594, allocations: 39.91 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.3597, allocations: 4 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/0.3601, allocations: 125.5 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.3604, allocations: 0.6846 MB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.223e-05/0.3605, allocations: 7.938 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.937e-05/0.3606, allocations: 19.42 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.3606, allocations: 0 / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of Templates: time 0.003342/0.3639, allocations: 0.8906 MB / 1.094 GB, free: 10.63 MB / 0.8575 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