Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001505/0.001505, allocations: 114.3 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.001967/0.001967, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.24/3.24, allocations: 0.49 GB / 0.7951 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_12_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.001986/0.001986, allocations: 63.91 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3599, allocations: 176.1 MB / 1.326 GB, free: 2.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002044/0.362, allocations: 0.7299 MB / 1.327 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.3631, allocations: 0.8705 MB / 1.327 GB, free: 412 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.888e-05/0.3632, allocations: 0 / 1.327 GB, free: 412 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.41e-05/0.3632, allocations: 3.938 kB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.604e-05/0.3633, allocations: 7.938 kB / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001668/0.3635, allocations: 19.97 kB / 1.327 GB, free: 380 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.3636, allocations: 51.84 kB / 1.328 GB, free: 328 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.3637, allocations: 11.98 kB / 1.328 GB, free: 316 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.421e-05/0.3638, allocations: 23.92 kB / 1.328 GB, free: 292 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.366e-05/0.3639, allocations: 19.92 kB / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.3639, allocations: 4 kB / 1.328 GB, free: 268 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.259e-05/0.3639, allocations: 4 kB / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.966e-05/0.3639, allocations: 15.97 kB / 1.328 GB, free: 248 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.138e-05/0.364, allocations: 19.86 kB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.3641, allocations: 52.03 kB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3641, allocations: 0 / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3641, allocations: 0 / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.3641, allocations: 4 kB / 1.328 GB, free: 172 kB / 1.014 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.0005905/0.3647, allocations: 278.2 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.3648, allocations: 12.03 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.48e-05/0.3648, allocations: 30.75 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.004e-05/0.3649, allocations: 4.938 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.365, allocations: 126.3 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.365, allocations: 8.375 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.365, allocations: 8.125 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.3653, allocations: 61.66 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3653, allocations: 0 / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.3653, allocations: 0 / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.3653, allocations: 7.938 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/0.3655, allocations: 43.95 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/0.366, allocations: 263.8 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.3662, allocations: 62.53 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.3663, allocations: 32.84 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.3663, allocations: 4 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.3663, allocations: 34.56 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3663, allocations: 0 / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004241/0.3668, allocations: 105.6 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.3668, allocations: 51.41 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.3669, allocations: 113.8 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.3669, allocations: 25.7 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.656e-05/0.367, allocations: 92.2 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.367, allocations: 15.84 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.3671, allocations: 21.7 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3672, allocations: 318.7 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.3673, allocations: 23.97 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.775e-05/0.3674, allocations: 24.16 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.3676, allocations: 60.91 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3676, allocations: 0 / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002279/0.3678, allocations: 81.64 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.3678, allocations: 4 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3678, allocations: 0 / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3679, allocations: 0 / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.368, allocations: 15.92 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.368, allocations: 0 / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.33e-05/0.3681, allocations: 15.94 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.3681, allocations: 15.88 kB / 1.33 GB, free: 14.05 MB / 1.029 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.083e-05/0.3682, allocations: 106.4 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.3682, allocations: 4 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.57e-05/0.3682, allocations: 11.98 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3682, allocations: 0 / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3682, allocations: 0 / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3683, allocations: 4 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.3684, allocations: 152.7 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3684, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.653e-05/0.3685, allocations: 11.98 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3685, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.3685, allocations: 4 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3686, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3686, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.3689, allocations: 195.3 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.819e-06/0.3689, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.3689, allocations: 4 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.369, allocations: 11.92 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.369, allocations: 7.984 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.3691, allocations: 4 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.463e-05/0.3691, allocations: 91.2 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3691, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002236/0.3693, allocations: 8 kB / 1.33 GB, free: 13.37 MB / 1.029 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.0006221/0.37, allocations: 0.7124 MB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002483/0.3702, allocations: 56.03 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3702, allocations: 4 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.3703, allocations: 32.06 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.3706, allocations: 7.984 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.3723, allocations: 1.325 MB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.3726, allocations: 0.6885 MB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.078e-05/0.3727, allocations: 4 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.73e-05/0.3727, allocations: 19.42 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of SimCode: time 5.71e-07/0.3727, allocations: 0 / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02841/0.4011, allocations: 1.97 MB / 1.335 GB, free: 8.562 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.38, allocations: 10.56 kB / 1.335 GB, free: 8.559 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv. Warning: Get data of variable intGreEquThr.t from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv failed! Error: Could not read variable intGreEquThr.u in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv. Warning: Get data of variable intGreEquThr.u from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv failed! Error: Could not read variable intGreEquThr.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv. Warning: Get data of variable intGreEquThr.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.15125425899896]