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.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.001601/0.001601, allocations: 113 kB / 18.94 MB, free: 2.934 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.001647/0.001647, allocations: 210.8 kB / 22.25 MB, free: 5.086 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.445/1.445, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.272/3.272, allocations: 0.505 GB / 0.8101 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_latest_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.002891/0.002891, allocations: 67.14 kB / 1.177 GB, free: 17.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4314/0.4343, allocations: 180.2 MB / 1.353 GB, free: 8.48 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002056/0.4363, allocations: 0.7152 MB / 1.354 GB, free: 7.77 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.4375, allocations: 0.8666 MB / 1.354 GB, free: 6.891 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.575e-05/0.4375, allocations: 4 kB / 1.354 GB, free: 6.887 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.682e-05/0.4375, allocations: 0 / 1.354 GB, free: 6.887 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.447e-05/0.4376, allocations: 7.938 kB / 1.354 GB, free: 6.879 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001441/0.4378, allocations: 23.91 kB / 1.354 GB, free: 6.855 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.4379, allocations: 47.84 kB / 1.354 GB, free: 6.809 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.438, allocations: 8 kB / 1.354 GB, free: 6.801 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.129e-05/0.438, allocations: 23.92 kB / 1.355 GB, free: 6.777 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.492e-05/0.4381, allocations: 31.89 kB / 1.355 GB, free: 6.746 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.4381, allocations: 4 kB / 1.355 GB, free: 6.742 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.363e-05/0.4381, allocations: 4 kB / 1.355 GB, free: 6.738 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.97e-05/0.4382, allocations: 8 kB / 1.355 GB, free: 6.73 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.997e-05/0.4382, allocations: 23.86 kB / 1.355 GB, free: 6.707 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.4383, allocations: 44.08 kB / 1.355 GB, free: 6.664 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.4383, allocations: 0 / 1.355 GB, free: 6.664 MB / 1.045 GB Notification: Performance of FrontEnd: time 6.332e-06/0.4383, allocations: 3.984 kB / 1.355 GB, free: 6.66 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.4383, allocations: 0 / 1.355 GB, free: 6.66 MB / 1.045 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.0006865/0.439, allocations: 284.4 kB / 1.355 GB, free: 6.355 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.4391, allocations: 12.03 kB / 1.355 GB, free: 6.344 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.604e-05/0.4392, allocations: 34.73 kB / 1.355 GB, free: 6.301 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.4392, allocations: 4.938 kB / 1.355 GB, free: 6.297 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.4393, allocations: 122.4 kB / 1.355 GB, free: 6.152 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.4394, allocations: 4.375 kB / 1.355 GB, free: 6.148 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.4394, allocations: 4.125 kB / 1.355 GB, free: 6.145 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.4396, allocations: 65.66 kB / 1.355 GB, free: 6.074 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4396, allocations: 3.938 kB / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.4396, allocations: 4 kB / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4396, allocations: 0 / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.4398, allocations: 59.88 kB / 1.355 GB, free: 6.008 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004743/0.4403, allocations: 259.8 kB / 1.355 GB, free: 5.711 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.4405, allocations: 66.56 kB / 1.356 GB, free: 5.637 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.4406, allocations: 28.88 kB / 1.356 GB, free: 5.605 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.4407, allocations: 4 kB / 1.356 GB, free: 5.602 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.091e-05/0.4407, allocations: 38.5 kB / 1.356 GB, free: 5.555 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.4407, allocations: 3.938 kB / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0004102/0.4411, allocations: 105.6 kB / 1.356 GB, free: 5.441 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.4412, allocations: 51.41 kB / 1.356 GB, free: 5.379 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.4413, allocations: 109.8 kB / 1.356 GB, free: 5.262 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.4413, allocations: 29.7 kB / 1.356 GB, free: 5.227 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.4414, allocations: 92.08 kB / 1.356 GB, free: 5.133 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.4414, allocations: 11.89 kB / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.4414, allocations: 17.72 kB / 1.356 GB, free: 5.098 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.4416, allocations: 322.8 kB / 1.356 GB, free: 4.773 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.4417, allocations: 19.98 kB / 1.356 GB, free: 4.754 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.125e-05/0.4418, allocations: 27.91 kB / 1.356 GB, free: 4.727 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.442, allocations: 56.81 kB / 1.356 GB, free: 4.668 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.442, allocations: 0 / 1.356 GB, free: 4.668 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002438/0.4422, allocations: 81.61 kB / 1.356 GB, free: 4.582 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.4422, allocations: 11.98 kB / 1.356 GB, free: 4.57 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.4422, allocations: 0 / 1.356 GB, free: 4.57 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.4422, allocations: 0 / 1.356 GB, free: 4.57 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.4423, allocations: 15.98 kB / 1.357 GB, free: 4.555 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.4424, allocations: 0 / 1.357 GB, free: 4.555 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.842e-05/0.4424, allocations: 4 kB / 1.357 GB, free: 4.551 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.4424, allocations: 11.92 kB / 1.357 GB, free: 4.539 MB / 1.045 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.0001047/0.4425, allocations: 121.7 kB / 1.357 GB, free: 4.41 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.4426, allocations: 4 kB / 1.357 GB, free: 4.406 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.547e-05/0.4426, allocations: 4 kB / 1.357 GB, free: 4.398 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.4426, allocations: 3.938 kB / 1.357 GB, free: 4.395 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.4426, allocations: 0 / 1.357 GB, free: 4.395 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4426, allocations: 4 kB / 1.357 GB, free: 4.391 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.4428, allocations: 152.7 kB / 1.357 GB, free: 4.199 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4428, allocations: 0 / 1.357 GB, free: 4.199 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.498e-05/0.4429, allocations: 11.98 kB / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.4429, allocations: 0 / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.4429, allocations: 0 / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4429, allocations: 0 / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4429, allocations: 4 kB / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/0.4432, allocations: 187.7 kB / 1.357 GB, free: 3.984 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.128e-05/0.4432, allocations: 4.031 kB / 1.357 GB, free: 3.98 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.4432, allocations: 3.938 kB / 1.357 GB, free: 3.977 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.735e-05/0.4433, allocations: 7.984 kB / 1.357 GB, free: 3.969 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.4434, allocations: 11.98 kB / 1.357 GB, free: 3.957 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.4434, allocations: 4 kB / 1.357 GB, free: 3.953 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.323e-05/0.4434, allocations: 91.2 kB / 1.357 GB, free: 3.863 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4434, allocations: 0 / 1.357 GB, free: 3.863 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002107/0.4437, allocations: 15.94 kB / 1.357 GB, free: 3.848 MB / 1.045 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.0006855/0.4443, allocations: 0.7093 MB / 1.358 GB, free: 3.113 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002526/0.4446, allocations: 63.88 kB / 1.358 GB, free: 3.051 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4446, allocations: 0 / 1.358 GB, free: 3.051 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.4447, allocations: 31.97 kB / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.445, allocations: 4 kB / 1.358 GB, free: 3.016 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.4468, allocations: 1.319 MB / 1.359 GB, free: 1.617 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.4472, allocations: 0.6884 MB / 1.36 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.431e-05/0.4472, allocations: 4 kB / 1.36 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.211e-05/0.4473, allocations: 19.42 kB / 1.36 GB, free: 0.8789 MB / 1.045 GB Notification: Performance of SimCode: time 3.21e-07/0.4473, allocations: 0 / 1.36 GB, free: 0.8789 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02901/0.4763, allocations: 1.972 MB / 1.362 GB, free: 15.04 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.22, allocations: 13.94 kB / 1.362 GB, free: 15.03 MB / 1.061 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv","/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) [Timeout 300] "Error: Could not read variable intGreEquThr.t in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv. Warning: Get data of variable intGreEquThr.t from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv failed! Error: Could not read variable intGreEquThr.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv. Warning: Get data of variable intGreEquThr.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv failed! Error: Could not read variable intGreEquThr.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv. Warning: Get data of variable intGreEquThr.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.158937064999918]