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.001644/0.001644, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002503/0.002503, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.502/1.502, 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 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.844/2.844, allocations: 476 MB / 0.7699 GB, free: 4.711 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.002125/0.002125, allocations: 65.81 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3532, 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.002188/0.3554, allocations: 0.6954 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.3567, allocations: 0.8588 MB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.364e-05/0.3568, allocations: 0 / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.848e-05/0.3568, allocations: 3.938 kB / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.085e-05/0.3569, allocations: 7.938 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.3571, allocations: 27.95 kB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.3572, allocations: 39.92 kB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.3573, allocations: 19.5 kB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.953e-05/0.3574, allocations: 15.92 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.691e-05/0.3575, allocations: 27.91 kB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.3575, allocations: 4 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.534e-05/0.3575, allocations: 8 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.738e-05/0.3575, allocations: 15.92 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.3576, allocations: 11.94 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.3577, allocations: 51.78 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3577, allocations: 0 / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.364e-06/0.3577, allocations: 0 / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.3577, allocations: 0 / 1.284 GB, free: 10.63 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.0005983/0.3583, allocations: 276 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.3584, allocations: 8.031 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.786e-05/0.3584, allocations: 38.75 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.3585, allocations: 8.891 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.3586, allocations: 118.4 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.3586, allocations: 8.312 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.3586, allocations: 8.109 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.3589, allocations: 69.66 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3589, allocations: 0 / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3589, allocations: 3.938 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3589, allocations: 0 / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002203/0.3591, allocations: 51.95 kB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004908/0.3596, allocations: 247.9 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.3598, allocations: 62.48 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.3599, allocations: 40.89 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.36, allocations: 0 / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.36, allocations: 34.56 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.36, allocations: 0 / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004565/0.3604, allocations: 113.6 kB / 1.285 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.3605, allocations: 51.41 kB / 1.285 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.3606, allocations: 109.8 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.3606, allocations: 25.7 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.054e-05/0.3607, allocations: 88.12 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.3607, allocations: 11.91 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.3608, allocations: 21.66 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.361, allocations: 318.8 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.3611, allocations: 23.98 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.988e-05/0.3612, allocations: 31.97 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.3613, allocations: 48.81 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.3613, allocations: 0 / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00023/0.3616, allocations: 77.66 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3616, allocations: 4 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3616, allocations: 0 / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3616, allocations: 7.984 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.3617, allocations: 19.92 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.3617, allocations: 4 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.339e-05/0.3618, allocations: 7.938 kB / 1.286 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.3618, allocations: 8.188 kB / 1.286 GB, free: 8.527 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 9.564e-05/0.3619, allocations: 113.8 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.3619, allocations: 3.953 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.362, allocations: 8 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.362, allocations: 4 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.362, allocations: 0 / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.362, allocations: 4 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.3622, allocations: 144.7 kB / 1.286 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3622, allocations: 0 / 1.286 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.609e-05/0.3623, allocations: 11.98 kB / 1.286 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3623, allocations: 3.938 kB / 1.286 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.3623, allocations: 0 / 1.286 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3623, allocations: 0 / 1.286 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.3623, allocations: 0 / 1.286 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.3626, allocations: 187.4 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.248e-05/0.3626, allocations: 7.953 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.3626, allocations: 4.375 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.793e-05/0.3627, allocations: 7.984 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/0.3628, allocations: 11.98 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.3628, allocations: 0 / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.165e-05/0.3628, allocations: 99.19 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3628, allocations: 0 / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002199/0.3631, allocations: 8 kB / 1.287 GB, free: 7.848 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.000669/0.3637, allocations: 0.7163 MB / 1.287 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002594/0.364, allocations: 55.89 kB / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.364, allocations: 0 / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.3641, allocations: 31.97 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.3645, allocations: 8.375 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.3663, allocations: 1.321 MB / 1.289 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.045e-05/0.3664, allocations: 67.33 kB / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.25e-05/0.3665, allocations: 8 kB / 1.289 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.276e-05/0.3665, allocations: 23.42 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.3665, allocations: 3.938 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03556/0.4021, allocations: 2.413 MB / 1.291 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.5, allocations: 6.672 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.365466991905123]