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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 214.1 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.828/2.828, allocations: 476 MB / 0.7699 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 67.2 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.352, allocations: 169.9 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001963/0.3539, allocations: 0.6987 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.355, allocations: 0.855 MB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.848e-05/0.3551, allocations: 3.938 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.691e-05/0.3551, allocations: 0 / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.509e-05/0.3552, allocations: 15.88 kB / 1.284 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001499/0.3553, allocations: 27.91 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.759e-05/0.3554, allocations: 43.86 kB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.3555, allocations: 17.66 kB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.941e-05/0.3556, allocations: 23.92 kB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.828e-05/0.3556, allocations: 15.92 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.3557, allocations: 4 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.451e-05/0.3557, allocations: 8 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.3557, allocations: 11.98 kB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.3557, allocations: 19.86 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.3558, allocations: 47.38 kB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3558, allocations: 0 / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3558, allocations: 0 / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.3559, allocations: 0 / 1.284 GB, free: 10.66 MB / 0.9825 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.0005338/0.3564, allocations: 278.3 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.3564, allocations: 12.03 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.483e-05/0.3565, allocations: 34.69 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.595e-05/0.3565, allocations: 8.891 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.3566, allocations: 122.4 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.3567, allocations: 8.375 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.3567, allocations: 4.125 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.3569, allocations: 65.66 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3569, allocations: 0 / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.357, allocations: 0 / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.357, allocations: 0 / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002142/0.3572, allocations: 59.89 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.3576, allocations: 243.9 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.3578, allocations: 62.58 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.3579, allocations: 28.88 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.3579, allocations: 3.938 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.358, allocations: 34.5 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.358, allocations: 4 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003998/0.3584, allocations: 113.6 kB / 1.285 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.3584, allocations: 55.41 kB / 1.285 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.009e-05/0.3585, allocations: 105.8 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.3585, allocations: 25.7 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/0.3586, allocations: 92.12 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.3586, allocations: 11.91 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.3586, allocations: 13.72 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3588, allocations: 322.8 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.894e-05/0.3589, allocations: 23.98 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.1e-05/0.359, allocations: 31.91 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.3592, allocations: 52.75 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3592, allocations: 0 / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002278/0.3594, allocations: 81.66 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.3594, allocations: 4 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3594, allocations: 4.297 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.3594, allocations: 8 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.3595, allocations: 15.98 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3595, allocations: 0 / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.635e-05/0.3596, allocations: 7.938 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.3596, allocations: 11.91 kB / 1.286 GB, free: 8.551 MB / 0.9825 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.598e-05/0.3597, allocations: 117.8 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.3597, allocations: 3.953 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/0.3598, allocations: 12 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3598, allocations: 0 / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3598, allocations: 4 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3598, allocations: 0 / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.36, allocations: 144.7 kB / 1.286 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.36, allocations: 0 / 1.286 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.777e-05/0.36, allocations: 15.98 kB / 1.286 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.36, allocations: 0 / 1.286 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.36, allocations: 3.938 kB / 1.286 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.36, allocations: 0 / 1.286 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3601, allocations: 0 / 1.286 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/0.3603, allocations: 187.4 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.122e-05/0.3604, allocations: 3.953 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.3604, allocations: 0 / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.847e-05/0.3605, allocations: 7.984 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.508e-05/0.3605, allocations: 15.92 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.3605, allocations: 4 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.414e-05/0.3606, allocations: 91.2 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3606, allocations: 0 / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002175/0.3608, allocations: 8 kB / 1.287 GB, free: 7.871 MB / 0.9825 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.0006217/0.3614, allocations: 0.7206 MB / 1.287 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002496/0.3617, allocations: 55.88 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3617, allocations: 0 / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.3618, allocations: 27.98 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.3621, allocations: 11.98 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.3642, allocations: 1.325 MB / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.802e-05/0.3643, allocations: 63.34 kB / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.731e-05/0.3644, allocations: 8 kB / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.898e-05/0.3645, allocations: 19.42 kB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of SimCode: time 5.21e-07/0.3645, allocations: 0 / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03173/0.3962, allocations: 2.414 MB / 1.291 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.82, allocations: 14.78 kB / 1.291 GB, free: 3.234 MB / 0.9825 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable intGreEquThr.t in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv. Warning: Get data of variable intGreEquThr.t from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv failed! Error: Could not read variable intGreEquThr.u in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv. Warning: Get data of variable intGreEquThr.u from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv failed! Error: Could not read variable intGreEquThr.y in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv. Warning: Get data of variable intGreEquThr.y from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.631073340773582]