Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001319/0.001319, 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.001749/0.001749, allocations: 214.1 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.28/3.28, allocations: 0.505 GB / 0.8101 GB, free: 21.98 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_latest_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.002043/0.002043, allocations: 63.69 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4086, allocations: 180.2 MB / 1.353 GB, free: 8.418 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.00258/0.4112, allocations: 0.7058 MB / 1.354 GB, free: 7.715 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.4125, allocations: 0.8744 MB / 1.354 GB, free: 6.828 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.02e-05/0.4125, allocations: 0 / 1.354 GB, free: 6.828 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.385e-05/0.4125, allocations: 3.938 kB / 1.354 GB, free: 6.824 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.867e-05/0.4126, allocations: 3.938 kB / 1.354 GB, free: 6.82 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.4128, allocations: 19.92 kB / 1.354 GB, free: 6.801 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.4129, allocations: 51.84 kB / 1.354 GB, free: 6.75 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.413, allocations: 15.98 kB / 1.355 GB, free: 6.734 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.743e-05/0.4131, allocations: 19.92 kB / 1.355 GB, free: 6.715 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.423e-05/0.4132, allocations: 23.91 kB / 1.355 GB, free: 6.691 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.4132, allocations: 4 kB / 1.355 GB, free: 6.688 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.208e-05/0.4132, allocations: 8 kB / 1.355 GB, free: 6.68 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.101e-05/0.4133, allocations: 7.984 kB / 1.355 GB, free: 6.672 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.811e-05/0.4133, allocations: 23.86 kB / 1.355 GB, free: 6.648 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.4134, allocations: 44.03 kB / 1.355 GB, free: 6.605 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.4134, allocations: 3.984 kB / 1.355 GB, free: 6.602 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4134, allocations: 0 / 1.355 GB, free: 6.602 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.4134, allocations: 4 kB / 1.355 GB, free: 6.598 MB / 1.045 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.0005547/0.414, allocations: 278.2 kB / 1.355 GB, free: 6.297 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.414, allocations: 12.03 kB / 1.355 GB, free: 6.285 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.188e-05/0.4141, allocations: 42.73 kB / 1.355 GB, free: 6.234 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.808e-05/0.4141, allocations: 0.9375 kB / 1.355 GB, free: 6.234 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.4143, allocations: 122.4 kB / 1.355 GB, free: 6.09 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.4143, allocations: 4.375 kB / 1.355 GB, free: 6.086 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.4143, allocations: 4.125 kB / 1.355 GB, free: 6.082 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.4145, allocations: 69.66 kB / 1.355 GB, free: 6.008 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.4145, allocations: 7.922 kB / 1.355 GB, free: 6 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.4145, allocations: 4 kB / 1.355 GB, free: 5.996 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.4145, allocations: 0 / 1.355 GB, free: 5.996 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002108/0.4148, allocations: 51.94 kB / 1.355 GB, free: 5.945 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004777/0.4152, allocations: 259.8 kB / 1.355 GB, free: 5.648 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.4154, allocations: 62.55 kB / 1.356 GB, free: 5.578 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.4155, allocations: 32.91 kB / 1.356 GB, free: 5.543 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.4155, allocations: 0 / 1.356 GB, free: 5.543 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.4156, allocations: 30.56 kB / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.4156, allocations: 0 / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.000434/0.416, allocations: 113.6 kB / 1.356 GB, free: 5.387 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.4161, allocations: 51.41 kB / 1.356 GB, free: 5.324 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.4162, allocations: 105.8 kB / 1.356 GB, free: 5.211 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.4162, allocations: 29.7 kB / 1.356 GB, free: 5.176 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.63e-05/0.4163, allocations: 92.08 kB / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.4163, allocations: 15.95 kB / 1.356 GB, free: 5.066 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.064e-05/0.4163, allocations: 17.72 kB / 1.356 GB, free: 5.043 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.4165, allocations: 326.8 kB / 1.356 GB, free: 4.715 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.4166, allocations: 19.98 kB / 1.356 GB, free: 4.695 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.228e-05/0.4167, allocations: 23.97 kB / 1.356 GB, free: 4.672 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.4169, allocations: 48.81 kB / 1.356 GB, free: 4.621 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4169, allocations: 7.938 kB / 1.356 GB, free: 4.613 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002405/0.4171, allocations: 85.61 kB / 1.356 GB, free: 4.523 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.4172, allocations: 13.39 kB / 1.356 GB, free: 4.512 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.4172, allocations: 0 / 1.356 GB, free: 4.512 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.4172, allocations: 0 / 1.356 GB, free: 4.512 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.4173, allocations: 11.98 kB / 1.356 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.4173, allocations: 0 / 1.356 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.026e-05/0.4174, allocations: 4 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.4174, allocations: 7.922 kB / 1.357 GB, free: 4.488 MB / 1.045 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.494e-05/0.4175, allocations: 126.4 kB / 1.357 GB, free: 4.355 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.4175, allocations: 4 kB / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.695e-05/0.4175, allocations: 8 kB / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.4175, allocations: 3.938 kB / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4175, allocations: 336 / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4176, allocations: 0 / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.4177, allocations: 148.7 kB / 1.357 GB, free: 4.148 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4177, allocations: 0 / 1.357 GB, free: 4.148 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.951e-05/0.4178, allocations: 15.92 kB / 1.357 GB, free: 4.133 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.4178, allocations: 3.984 kB / 1.357 GB, free: 4.129 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.4178, allocations: 4 kB / 1.357 GB, free: 4.125 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.4178, allocations: 4 kB / 1.357 GB, free: 4.121 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4179, allocations: 0 / 1.357 GB, free: 4.121 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.4182, allocations: 187.4 kB / 1.357 GB, free: 3.922 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.235e-06/0.4182, allocations: 0 / 1.357 GB, free: 3.922 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.4182, allocations: 0 / 1.357 GB, free: 3.922 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.4183, allocations: 15.98 kB / 1.357 GB, free: 3.906 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.4183, allocations: 7.984 kB / 1.357 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.4183, allocations: 4 kB / 1.357 GB, free: 3.895 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.106e-05/0.4184, allocations: 91.2 kB / 1.357 GB, free: 3.805 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4184, allocations: 0 / 1.357 GB, free: 3.805 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002225/0.4186, allocations: 8 kB / 1.357 GB, free: 3.797 MB / 1.045 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.0006292/0.4192, allocations: 0.7163 MB / 1.358 GB, free: 3.055 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000247/0.4195, allocations: 51.94 kB / 1.358 GB, free: 3.004 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4195, allocations: 4 kB / 1.358 GB, free: 3 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.4196, allocations: 35.91 kB / 1.358 GB, free: 2.965 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.4199, allocations: 8.938 kB / 1.358 GB, free: 2.957 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.4216, allocations: 1.323 MB / 1.359 GB, free: 1.555 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.4219, allocations: 0.6845 MB / 1.36 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.377e-05/0.4219, allocations: 8 kB / 1.36 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.988e-05/0.422, allocations: 23.42 kB / 1.36 GB, free: 0.8125 MB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.422, allocations: 0 / 1.36 GB, free: 0.8125 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02917/0.4512, allocations: 1.973 MB / 1.362 GB, free: 14.98 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.54, allocations: 3.594 kB / 1.362 GB, free: 14.98 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.417468805098906]