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.001425/0.001425, 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.00163/0.00163, allocations: 215 kB / 22.25 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.572/1.572, allocations: 230.6 MB / 256 MB, free: 7.742 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.912/2.912, allocations: 476 MB / 0.7699 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 176] 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.002045/0.002045, allocations: 64.75 kB / 1.117 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3466, allocations: 170 MB / 1.283 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002079/0.3487, allocations: 0.6973 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.3497, allocations: 0.8511 MB / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.355e-05/0.3498, allocations: 4 kB / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.075e-05/0.3498, allocations: 0 / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.63e-05/0.3499, allocations: 3.938 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.3501, allocations: 27.91 kB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.655e-05/0.3502, allocations: 47.86 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.3503, allocations: 13.67 kB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.399e-05/0.3504, allocations: 27.91 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.38e-05/0.3504, allocations: 19.92 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.3505, allocations: 7.938 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.288e-05/0.3505, allocations: 4 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.877e-05/0.3505, allocations: 11.98 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.3505, allocations: 15.92 kB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.3506, allocations: 51.31 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3506, allocations: 0 / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3506, allocations: 0 / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.3507, allocations: 0 / 1.284 GB, free: 10.62 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.0005894/0.3512, allocations: 282.2 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.3513, allocations: 12.03 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.209e-05/0.3513, allocations: 34.75 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.3514, allocations: 4.891 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.3515, allocations: 114.4 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.3515, allocations: 4.375 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.3515, allocations: 8.125 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.3517, allocations: 73.62 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.3518, allocations: 0 / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.3518, allocations: 0 / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3518, allocations: 7.984 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002083/0.352, allocations: 51.89 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004968/0.3525, allocations: 251.9 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.3527, allocations: 58.55 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.3528, allocations: 28.91 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.3528, allocations: 0 / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.3528, allocations: 38.5 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.3528, allocations: 4 kB / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004359/0.3533, allocations: 105.6 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.3533, allocations: 55.41 kB / 1.285 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.3534, allocations: 109.8 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.3535, allocations: 25.7 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.3535, allocations: 96.06 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.3535, allocations: 7.906 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.3536, allocations: 17.72 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.3538, allocations: 330.8 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.3539, allocations: 19.98 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.492e-05/0.354, allocations: 27.91 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.3542, allocations: 48.81 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3542, allocations: 0 / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002395/0.3544, allocations: 85.66 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3544, allocations: 4 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3544, allocations: 4 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.3545, allocations: 7.922 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.3546, allocations: 11.98 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3546, allocations: 0 / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.125e-05/0.3547, allocations: 7.938 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.3547, allocations: 7.938 kB / 1.286 GB, free: 8.523 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.0001031/0.3548, allocations: 121.8 kB / 1.286 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.3548, allocations: 7.953 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.3548, allocations: 8 kB / 1.286 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3548, allocations: 0 / 1.286 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3548, allocations: 0 / 1.286 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3549, allocations: 0 / 1.286 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.355, allocations: 148.7 kB / 1.286 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.355, allocations: 0 / 1.286 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.496e-05/0.3551, allocations: 11.98 kB / 1.286 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3551, allocations: 336 / 1.286 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.3551, allocations: 0 / 1.286 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3551, allocations: 0 / 1.286 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3551, allocations: 4 kB / 1.286 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/0.3555, allocations: 191.4 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.084e-05/0.3555, allocations: 7.891 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.3555, allocations: 0 / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.812e-05/0.3556, allocations: 7.984 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/0.3556, allocations: 11.98 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.3556, allocations: 7.938 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.977e-05/0.3557, allocations: 91.2 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3557, allocations: 0 / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002203/0.3559, allocations: 12 kB / 1.287 GB, free: 7.832 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.0006571/0.3566, allocations: 0.7085 MB / 1.287 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002524/0.3568, allocations: 55.89 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.3568, allocations: 0 / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.357, allocations: 31.97 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.3573, allocations: 18.48 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.359, allocations: 1.311 MB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.729e-05/0.3591, allocations: 67.33 kB / 1.289 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.686e-05/0.3591, allocations: 8 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.028e-05/0.3592, allocations: 19.42 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.3592, allocations: 3.938 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02928/0.3884, allocations: 2.412 MB / 1.291 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.75, allocations: 8.109 kB / 1.291 GB, free: 3.219 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: 18.720114306081086]