Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006568/0.006568, allocations: 98.98 kB / 15.73 MB, free: 6.027 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.00131/0.00131, allocations: 193.2 kB / 16.67 MB, free: 5.957 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.73/2.73, allocations: 469.8 MB / 0.7425 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 71.88 kB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8528/0.8542, allocations: 159.1 MB / 1.221 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002098/0.8563, allocations: 0.7034 MB / 1.221 GB, free: 1.387 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.8575, allocations: 0.839 MB / 1.222 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.711e-05/0.8576, allocations: 0 / 1.222 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.787e-05/0.8576, allocations: 7.922 kB / 1.222 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.736e-05/0.8577, allocations: 15.92 kB / 1.222 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001653/0.8579, allocations: 15.98 kB / 1.222 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.858, allocations: 43.91 kB / 1.222 GB, free: 464 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.8581, allocations: 8 kB / 1.222 GB, free: 456 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.071e-05/0.8582, allocations: 23.91 kB / 1.222 GB, free: 432 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.198e-05/0.8583, allocations: 27.91 kB / 1.222 GB, free: 404 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.8583, allocations: 4 kB / 1.222 GB, free: 400 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.268e-05/0.8583, allocations: 11.88 kB / 1.222 GB, free: 388 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.8583, allocations: 7.984 kB / 1.222 GB, free: 380 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.858e-05/0.8584, allocations: 23.88 kB / 1.222 GB, free: 356 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.8585, allocations: 47.84 kB / 1.222 GB, free: 308 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.8585, allocations: 4 kB / 1.222 GB, free: 304 kB / 0.9356 GB Notification: Performance of FrontEnd: time 2.615e-06/0.8585, allocations: 0 / 1.222 GB, free: 304 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.315e-05/0.8586, allocations: 0 / 1.222 GB, free: 304 kB / 0.9356 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.000685/0.8592, allocations: 363.8 kB / 1.223 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.8593, allocations: 8.031 kB / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.8593, allocations: 4.891 kB / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.8595, allocations: 164.4 kB / 1.223 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.8596, allocations: 4.375 kB / 1.223 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.8596, allocations: 4.375 kB / 1.223 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.8598, allocations: 73.53 kB / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.8598, allocations: 0 / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.8598, allocations: 4 kB / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.8598, allocations: 3.984 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.86, allocations: 51.94 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005165/0.8606, allocations: 288.8 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.8608, allocations: 66.47 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.8609, allocations: 32.86 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.8609, allocations: 0 / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.8609, allocations: 30.56 kB / 1.223 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.8609, allocations: 4 kB / 1.223 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0004584/0.8614, allocations: 109.6 kB / 1.224 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.8614, allocations: 55.34 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.8615, allocations: 109.8 kB / 1.224 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.8615, allocations: 25.7 kB / 1.224 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.8616, allocations: 96.03 kB / 1.224 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.8616, allocations: 3.953 kB / 1.224 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.8617, allocations: 25.7 kB / 1.224 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.8618, allocations: 322.8 kB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.669e-05/0.8619, allocations: 23.97 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.147e-05/0.862, allocations: 19.98 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.8621, allocations: 49.09 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.8621, allocations: 4 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000217/0.8623, allocations: 93.58 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.8623, allocations: 8 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.8624, allocations: 0 / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.8624, allocations: 3.938 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.8625, allocations: 11.98 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.8625, allocations: 0 / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.937e-05/0.8626, allocations: 7.984 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.8626, allocations: 4.312 kB / 1.224 GB, free: 14.04 MB / 0.9512 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.622e-05/0.8627, allocations: 120.7 kB / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.8627, allocations: 0 / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.189e-05/0.8627, allocations: 7.906 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.8627, allocations: 3.984 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.8627, allocations: 4 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.8627, allocations: 0 / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.8629, allocations: 181.6 kB / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.8629, allocations: 0 / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.528e-05/0.863, allocations: 15.98 kB / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.863, allocations: 0 / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.863, allocations: 3.984 kB / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.863, allocations: 0 / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.863, allocations: 0 / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.8633, allocations: 183.4 kB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.056e-05/0.8634, allocations: 89 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.8634, allocations: 4 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.712e-05/0.8635, allocations: 7.984 kB / 1.225 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/0.8635, allocations: 11.98 kB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.8635, allocations: 3.938 kB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.74e-05/0.8636, allocations: 95.25 kB / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of sort global known variables: time 6e-08/0.8636, allocations: 0 / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002138/0.8638, allocations: 7.938 kB / 1.225 GB, free: 13.21 MB / 0.9512 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.0001336/0.8639, allocations: 115.2 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002458/0.8642, allocations: 55.89 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.8642, allocations: 0 / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.8643, allocations: 27.97 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.8645, allocations: 11.94 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003968/0.8649, allocations: 129.4 kB / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.8653, allocations: 0.6846 MB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.542e-05/0.8653, allocations: 4 kB / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.8654, allocations: 15.42 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of SimCode: time 2.7e-07/0.8654, allocations: 0 / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of Templates: time 0.003445/0.8688, allocations: 0.9016 MB / 1.227 GB, free: 11.22 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches