Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001308/0.001308, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.00151/0.00151, allocations: 220.5 kB / 22.26 MB, free: 5.125 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.996 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.794/2.794, allocations: 476.7 MB / 0.7707 GB, free: 4.273 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.LessEqualThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_11_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.002048/0.002048, allocations: 69.53 kB / 1.117 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3526, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002213/0.3549, allocations: 0.7135 MB / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.3561, allocations: 0.8706 MB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.083e-05/0.3561, allocations: 0 / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.898e-05/0.3562, allocations: 7.938 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.672e-05/0.3563, allocations: 7.922 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.3564, allocations: 27.91 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00012/0.3566, allocations: 43.92 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.3567, allocations: 11.98 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.151e-05/0.3568, allocations: 23.84 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.962e-05/0.3568, allocations: 27.92 kB / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.915e-05/0.3569, allocations: 4 kB / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.296e-05/0.3569, allocations: 4 kB / 1.285 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.677e-05/0.3569, allocations: 11.98 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.261e-05/0.357, allocations: 19.88 kB / 1.285 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.3571, allocations: 51.36 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3571, allocations: 0 / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3571, allocations: 0 / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.3571, allocations: 0 / 1.285 GB, free: 9.875 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.0005809/0.3577, allocations: 279 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.3577, allocations: 11.97 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.328e-05/0.3578, allocations: 38.75 kB / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.829e-05/0.3578, allocations: 4.891 kB / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.3579, allocations: 118.4 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.358, allocations: 384 / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.358, allocations: 12.12 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.3582, allocations: 65.66 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3582, allocations: 3.984 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.3582, allocations: 0 / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3582, allocations: 4 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/0.3584, allocations: 51.94 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004512/0.3589, allocations: 255.8 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.3591, allocations: 66.52 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.3592, allocations: 28.92 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.3592, allocations: 7.938 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.3592, allocations: 30.56 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3592, allocations: 0 / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004236/0.3596, allocations: 117.5 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.3597, allocations: 55.41 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.3598, allocations: 109.8 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.3598, allocations: 29.7 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.89e-05/0.3599, allocations: 84.14 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.3599, allocations: 11.91 kB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.3599, allocations: 17.7 kB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3601, allocations: 322.8 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.3602, allocations: 27.97 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.3603, allocations: 19.98 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.3605, allocations: 48.81 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3605, allocations: 0 / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002404/0.3607, allocations: 89.58 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3607, allocations: 4 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.3607, allocations: 8 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.3608, allocations: 0 / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.3609, allocations: 19.92 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3609, allocations: 0 / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.903e-05/0.361, allocations: 11.92 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.361, allocations: 3.938 kB / 1.287 GB, free: 7.762 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,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 0.0001165/0.3611, allocations: 113.8 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.3611, allocations: 3.953 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.642e-05/0.3612, allocations: 16 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3612, allocations: 0 / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3612, allocations: 0 / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3612, allocations: 3.984 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.3614, allocations: 144.8 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3614, allocations: 0 / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.307e-05/0.3615, allocations: 15.92 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3615, allocations: 0 / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.3615, allocations: 0 / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3615, allocations: 0 / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/0.3615, allocations: 3.984 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.3618, allocations: 183.4 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.488e-05/0.3619, allocations: 8.359 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.3619, allocations: 4 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.771e-05/0.362, allocations: 4 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.965e-05/0.362, allocations: 15.97 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.362, allocations: 7.984 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.415e-05/0.3621, allocations: 95.14 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3621, allocations: 0 / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002185/0.3623, allocations: 8 kB / 1.288 GB, free: 7.074 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 (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.0006414/0.363, allocations: 0.7202 MB / 1.288 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002625/0.3632, allocations: 55.95 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3632, allocations: 0 / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.3633, allocations: 31.91 kB / 1.288 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.3637, allocations: 4 kB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.3654, allocations: 1.317 MB / 1.29 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.3657, allocations: 0.6807 MB / 1.29 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.427e-05/0.3658, allocations: 7.984 kB / 1.29 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.04e-05/0.3658, allocations: 23.44 kB / 1.29 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3658, allocations: 0 / 1.29 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/0.3942, allocations: 1.959 MB / 1.292 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.14, allocations: 2.25 kB / 1.292 GB, free: 2.281 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv. Warning: Get data of variable intLesEquThr.t from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv failed! Error: Could not read variable intLesEquThr.u in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv. Warning: Get data of variable intLesEquThr.u from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv failed! Error: Could not read variable intLesEquThr.y in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv. Warning: Get data of variable intLesEquThr.y from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.907061356001577]