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.001359/0.001359, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001588/0.001588, allocations: 217 kB / 22.25 MB, free: 5.082 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 8.031 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.347/3.347, allocations: 0.49 GB / 0.7951 GB, free: 33.59 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.002049/0.002049, allocations: 61.34 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3805, allocations: 176.1 MB / 1.326 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002697/0.3832, allocations: 0.7128 MB / 1.327 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00166/0.3849, allocations: 0.8744 MB / 1.327 GB, free: 324 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.196e-05/0.3849, allocations: 0 / 1.327 GB, free: 324 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.848e-05/0.385, allocations: 3.938 kB / 1.327 GB, free: 320 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.867e-05/0.385, allocations: 3.938 kB / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.3852, allocations: 23.91 kB / 1.327 GB, free: 292 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.3854, allocations: 51.84 kB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.3855, allocations: 11.98 kB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.3856, allocations: 27.86 kB / 1.328 GB, free: 200 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.436e-05/0.3857, allocations: 19.92 kB / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.203e-05/0.3857, allocations: 4 kB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.722e-05/0.3857, allocations: 8 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.339e-05/0.3858, allocations: 15.97 kB / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.101e-05/0.3858, allocations: 15.88 kB / 1.328 GB, free: 136 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.3859, allocations: 48.08 kB / 1.328 GB, free: 88 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3859, allocations: 0 / 1.328 GB, free: 88 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.514e-06/0.386, allocations: 0 / 1.328 GB, free: 88 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.386, allocations: 0 / 1.328 GB, free: 88 kB / 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.0006615/0.3866, allocations: 286.2 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.3867, allocations: 8.031 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.57e-05/0.3867, allocations: 38.69 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.3868, allocations: 0.9375 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.3869, allocations: 126.3 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.387, allocations: 12.38 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.387, allocations: 4.125 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002773/0.3873, allocations: 65.66 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3873, allocations: 0 / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.3873, allocations: 4 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3873, allocations: 0 / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.3876, allocations: 51.89 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005835/0.3882, allocations: 251.9 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.3885, allocations: 66.53 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.3886, allocations: 32.92 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.3886, allocations: 3.984 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.3887, allocations: 38.48 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.3887, allocations: 0 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0005596/0.3892, allocations: 109.6 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.3893, allocations: 51.41 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.3894, allocations: 109.9 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.3894, allocations: 29.7 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.338e-05/0.3895, allocations: 88.12 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.3895, allocations: 11.84 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/0.3896, allocations: 21.7 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.3898, allocations: 318.8 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.3899, allocations: 27.97 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.39, allocations: 19.98 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.3903, allocations: 56.75 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3903, allocations: 4 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003278/0.3906, allocations: 77.64 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.3906, allocations: 15.94 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3906, allocations: 0 / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3907, allocations: 0 / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.3908, allocations: 11.98 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.3908, allocations: 0 / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.3909, allocations: 11.94 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.3909, allocations: 11.88 kB / 1.33 GB, free: 13.96 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 0.0001173/0.391, allocations: 114.3 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/0.3911, allocations: 8 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.554e-05/0.3911, allocations: 11.98 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3911, allocations: 0 / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3911, allocations: 0 / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3911, allocations: 0 / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.3914, allocations: 144.7 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3914, allocations: 0 / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.3915, allocations: 11.98 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/0.3915, allocations: 3.984 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.3915, allocations: 0 / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.3915, allocations: 0 / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3915, allocations: 4 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004493/0.392, allocations: 191.4 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.146e-05/0.392, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.392, allocations: 4 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.3922, allocations: 7.984 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.437e-05/0.3922, allocations: 16.3 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.3923, allocations: 8 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.357e-05/0.3923, allocations: 91.52 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3923, allocations: 0 / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004082/0.3927, allocations: 8 kB / 1.33 GB, free: 13.27 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.0008313/0.3936, allocations: 0.7124 MB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003522/0.3939, allocations: 59.89 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3939, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.3941, allocations: 27.97 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.3945, allocations: 11.28 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.3969, allocations: 1.323 MB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.3973, allocations: 0.6846 MB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.165e-05/0.3974, allocations: 7.938 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.865e-05/0.3974, allocations: 19.44 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of SimCode: time 4.51e-07/0.3974, allocations: 0 / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03691/0.4344, allocations: 1.962 MB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.57, allocations: 13.23 kB / 1.335 GB, free: 8.473 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.47805754793808]