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.001441/0.001441, 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.001459/0.001459, allocations: 214.4 kB / 22.24 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.801 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.184/3.184, allocations: 0.4892 GB / 0.7943 GB, free: 35.5 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.002106/0.002106, allocations: 72.3 kB / 1.153 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3754, allocations: 176.1 MB / 1.325 GB, free: 2.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002557/0.378, allocations: 0.6892 MB / 1.326 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.3793, allocations: 0.8705 MB / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.369e-05/0.3793, allocations: 0 / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.792e-05/0.3793, allocations: 3.938 kB / 1.327 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.805e-05/0.3794, allocations: 3.938 kB / 1.327 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.3796, allocations: 27.95 kB / 1.327 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.9e-05/0.3797, allocations: 39.92 kB / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.3798, allocations: 11.98 kB / 1.327 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.1e-05/0.3799, allocations: 27.86 kB / 1.327 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.291e-05/0.38, allocations: 23.91 kB / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.38, allocations: 4 kB / 1.327 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.522e-05/0.38, allocations: 8 kB / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.3801, allocations: 11.92 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.757e-05/0.3801, allocations: 11.94 kB / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.3802, allocations: 52.06 kB / 1.327 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3802, allocations: 0 / 1.327 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3802, allocations: 4 kB / 1.327 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3802, allocations: 3.938 kB / 1.327 GB, free: 0.5508 MB / 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.0006222/0.3809, allocations: 282.2 kB / 1.327 GB, free: 252 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.3809, allocations: 8.031 kB / 1.327 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.607e-05/0.381, allocations: 34.73 kB / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.381, allocations: 8.938 kB / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.3811, allocations: 118.4 kB / 1.327 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.3812, allocations: 4.375 kB / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.3812, allocations: 16 kB / 1.327 GB, free: 28 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.3814, allocations: 61.73 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.3814, allocations: 0 / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.3814, allocations: 4 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3814, allocations: 0 / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/0.3816, allocations: 47.95 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.3821, allocations: 255.8 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.3823, allocations: 62.48 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.3824, allocations: 28.91 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.3824, allocations: 4 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.3825, allocations: 30.56 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3825, allocations: 0 / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004398/0.3829, allocations: 117.5 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.3829, allocations: 51.41 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.619e-05/0.383, allocations: 105.8 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.3831, allocations: 25.7 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.356e-05/0.3831, allocations: 92.12 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.3832, allocations: 11.84 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-05/0.3832, allocations: 17.72 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3833, allocations: 326.8 kB / 1.328 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.3834, allocations: 19.98 kB / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.519e-05/0.3835, allocations: 27.97 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.3837, allocations: 52.81 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3837, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002472/0.384, allocations: 81.59 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.384, allocations: 13.7 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.384, allocations: 3.938 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.384, allocations: 4 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.3841, allocations: 11.98 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.3842, allocations: 4 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.322e-05/0.3842, allocations: 4 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.3842, allocations: 11.92 kB / 1.329 GB, free: 14.45 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.808e-05/0.3843, allocations: 110.7 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.3844, allocations: 7.953 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.195e-05/0.3844, allocations: 7.984 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3844, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.3844, allocations: 4 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3844, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.3846, allocations: 144.7 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3846, allocations: 0 / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.822e-05/0.3847, allocations: 11.98 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3847, allocations: 0 / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.3847, allocations: 7.938 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.199e-06/0.3847, allocations: 7.938 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3847, allocations: 320 / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/0.385, allocations: 187.4 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.385, allocations: 0 / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.385, allocations: 4 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.974e-05/0.3851, allocations: 7.984 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.91e-05/0.3852, allocations: 11.98 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.3852, allocations: 0 / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.134e-05/0.3853, allocations: 99.19 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3853, allocations: 0 / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002209/0.3855, allocations: 4 kB / 1.329 GB, free: 13.77 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.0006172/0.3861, allocations: 0.7163 MB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002606/0.3864, allocations: 59.94 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3864, allocations: 0 / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.3865, allocations: 27.92 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.3868, allocations: 11.98 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.3885, allocations: 1.329 MB / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.815e-05/0.3886, allocations: 71.3 kB / 1.331 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.37e-05/0.3886, allocations: 4 kB / 1.331 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.922e-05/0.3887, allocations: 19.42 kB / 1.331 GB, free: 11.41 MB / 1.029 GB Notification: Performance of SimCode: time 3.8e-07/0.3887, allocations: 0 / 1.331 GB, free: 11.41 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03016/0.4188, allocations: 2.424 MB / 1.334 GB, free: 9.125 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.7, allocations: 1.547 kB / 1.334 GB, free: 9.125 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.46301880199462]