Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.001761/0.001761, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002174/0.002174, allocations: 220.4 kB / 22.25 MB, free: 5.105 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.797 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.225/3.225, allocations: 0.49 GB / 0.7951 GB, free: 35.57 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.LessEqualThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.002033/0.002033, allocations: 67.72 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3947, allocations: 176.1 MB / 1.326 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001938/0.3967, allocations: 0.705 MB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.3978, allocations: 0.8588 MB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.68e-05/0.3979, allocations: 0 / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.349e-05/0.3979, allocations: 7.938 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.271e-05/0.398, allocations: 3.938 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.3982, allocations: 27.91 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.3983, allocations: 43.86 kB / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.3984, allocations: 15.97 kB / 1.327 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.493e-05/0.3985, allocations: 23.92 kB / 1.327 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.91e-05/0.3986, allocations: 23.92 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.3986, allocations: 4 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.519e-05/0.3986, allocations: 4 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.391e-05/0.3986, allocations: 11.98 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.965e-05/0.3987, allocations: 19.86 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.3988, allocations: 48.08 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3988, allocations: 0 / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3988, allocations: 0 / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.3988, allocations: 0 / 1.328 GB, free: 15.66 MB / 1.029 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.0005716/0.3994, allocations: 278.2 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.3994, allocations: 16.03 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.397e-05/0.3995, allocations: 38.69 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/0.3995, allocations: 0.9375 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.3997, allocations: 122.4 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.3997, allocations: 4.375 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.3997, allocations: 8.125 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.3999, allocations: 65.66 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3999, allocations: 0 / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.3999, allocations: 3.938 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3999, allocations: 0 / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/0.4001, allocations: 51.95 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004644/0.4006, allocations: 255.9 kB / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.4008, allocations: 58.58 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.4009, allocations: 28.88 kB / 1.328 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.4009, allocations: 0 / 1.328 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.401, allocations: 30.56 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.315e-06/0.401, allocations: 11.94 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004165/0.4014, allocations: 109.7 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.4014, allocations: 55.41 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.4015, allocations: 105.8 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.4015, allocations: 25.7 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.4016, allocations: 92.12 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.4016, allocations: 11.84 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.4017, allocations: 17.72 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4018, allocations: 322.8 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.711e-05/0.4019, allocations: 27.98 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.24e-05/0.402, allocations: 27.95 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.4022, allocations: 52.75 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4022, allocations: 0 / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002421/0.4024, allocations: 85.64 kB / 1.329 GB, free: 13.6 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.4025, allocations: 8 kB / 1.329 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4025, allocations: 0 / 1.329 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.4025, allocations: 8 kB / 1.329 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.4026, allocations: 11.98 kB / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.4026, allocations: 0 / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.722e-05/0.4027, allocations: 4 kB / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.4027, allocations: 8.234 kB / 1.329 GB, free: 13.56 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,intLesEquThr.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.751e-05/0.4028, allocations: 114.4 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.4028, allocations: 7.891 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.976e-05/0.4028, allocations: 12 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4028, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.4028, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.4028, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.403, allocations: 148.7 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.403, allocations: 0 / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.285e-05/0.4031, allocations: 11.98 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4031, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.4031, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4031, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4031, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.4034, allocations: 203.3 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-06/0.4034, allocations: 0 / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.4035, allocations: 0 / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.713e-05/0.4036, allocations: 7.984 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.738e-05/0.4036, allocations: 15.92 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.4036, allocations: 4 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.69e-05/0.4037, allocations: 95.19 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4037, allocations: 0 / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002192/0.4039, allocations: 8 kB / 1.33 GB, free: 12.86 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 (intLesEquThr.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.0006201/0.4045, allocations: 0.7124 MB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002519/0.4048, allocations: 60.11 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4048, allocations: 0 / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.4049, allocations: 36.05 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.4052, allocations: 9.031 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.407, allocations: 1.327 MB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.092e-05/0.4071, allocations: 63.34 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.563e-05/0.4071, allocations: 8 kB / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.724e-05/0.4072, allocations: 19.42 kB / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of SimCode: time 5.91e-07/0.4072, allocations: 0 / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02978/0.4369, allocations: 2.436 MB / 1.335 GB, free: 8.211 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.46, allocations: 6.031 kB / 1.335 GB, free: 8.211 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_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_LessEqualThreshold.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable intLesEquThr.t in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv. Warning: Get data of variable intLesEquThr.t from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv failed! Error: Could not read variable intLesEquThr.u in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv. Warning: Get data of variable intLesEquThr.u from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv failed! Error: Could not read variable intLesEquThr.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv. Warning: Get data of variable intLesEquThr.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.49007224998786]