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.001342/0.001342, allocations: 108.2 kB / 16.46 MB, free: 6.453 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.001452/0.001452, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.518/1.518, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.223/3.223, allocations: 0.49 GB / 0.7916 GB, free: 33.4 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.002023/0.002023, allocations: 70.47 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3701, allocations: 176.1 MB / 1.321 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001935/0.372, allocations: 0.7121 MB / 1.322 GB, free: 2.602 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.3731, allocations: 0.8631 MB / 1.322 GB, free: 1.727 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.443e-05/0.3732, allocations: 0 / 1.322 GB, free: 1.727 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.967e-05/0.3732, allocations: 3.938 kB / 1.322 GB, free: 1.723 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.239e-05/0.3733, allocations: 3.938 kB / 1.322 GB, free: 1.719 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.3734, allocations: 23.91 kB / 1.322 GB, free: 1.695 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.566e-05/0.3735, allocations: 51.89 kB / 1.322 GB, free: 1.645 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.3736, allocations: 19.92 kB / 1.322 GB, free: 1.625 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.758e-05/0.3737, allocations: 19.92 kB / 1.322 GB, free: 1.605 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.141e-05/0.3738, allocations: 27.91 kB / 1.323 GB, free: 1.578 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.3738, allocations: 4 kB / 1.323 GB, free: 1.574 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.187e-05/0.3738, allocations: 4 kB / 1.323 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.537e-05/0.3738, allocations: 7.984 kB / 1.323 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.554e-05/0.3739, allocations: 23.86 kB / 1.323 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.374, allocations: 44.08 kB / 1.323 GB, free: 1.496 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.374, allocations: 0 / 1.323 GB, free: 1.496 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.092e-06/0.374, allocations: 0 / 1.323 GB, free: 1.496 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.374, allocations: 0 / 1.323 GB, free: 1.496 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.0005634/0.3746, allocations: 363.3 kB / 1.323 GB, free: 1.094 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3746, allocations: 15.98 kB / 1.323 GB, free: 1.078 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.947e-05/0.3747, allocations: 30.75 kB / 1.323 GB, free: 1.039 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.641e-05/0.3747, allocations: 4.875 kB / 1.323 GB, free: 1.035 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.3749, allocations: 184.2 kB / 1.323 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.3749, allocations: 4.375 kB / 1.323 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.3749, allocations: 8.062 kB / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.3751, allocations: 69.66 kB / 1.323 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.3751, allocations: 0 / 1.323 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.3751, allocations: 0 / 1.323 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.3751, allocations: 3.984 kB / 1.323 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002241/0.3753, allocations: 55.94 kB / 1.323 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/0.3758, allocations: 280.8 kB / 1.324 GB, free: 356 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.376, allocations: 66.53 kB / 1.324 GB, free: 280 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.3762, allocations: 28.92 kB / 1.324 GB, free: 248 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.3762, allocations: 4 kB / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.3762, allocations: 30.56 kB / 1.324 GB, free: 204 kB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3762, allocations: 0 / 1.324 GB, free: 204 kB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0004617/0.3767, allocations: 121.5 kB / 1.324 GB, free: 76 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.3767, allocations: 51.41 kB / 1.324 GB, free: 12 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.3768, allocations: 105.9 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.3768, allocations: 25.7 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/0.3769, allocations: 92.12 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.3769, allocations: 7.906 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.377, allocations: 21.7 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3771, allocations: 322.8 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.3772, allocations: 23.97 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.3773, allocations: 23.98 kB / 1.324 GB, free: 15.37 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.3775, allocations: 48.81 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3775, allocations: 0 / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002549/0.3778, allocations: 89.58 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3778, allocations: 4 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.3778, allocations: 4 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.3778, allocations: 0 / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.3779, allocations: 11.98 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3779, allocations: 0 / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.364e-05/0.378, allocations: 23.81 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.378, allocations: 4.266 kB / 1.325 GB, free: 15.18 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.935e-05/0.3781, allocations: 113.8 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.3782, allocations: 3.984 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.3782, allocations: 11.91 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3782, allocations: 3.984 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3782, allocations: 0 / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3782, allocations: 0 / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.3784, allocations: 177.6 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3784, allocations: 0 / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.347e-05/0.3785, allocations: 15.92 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.3785, allocations: 0 / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.3785, allocations: 15.92 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3785, allocations: 0 / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3785, allocations: 0 / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.3788, allocations: 183.4 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.3789, allocations: 81.11 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.3789, allocations: 0 / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.379, allocations: 11.98 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.025e-05/0.3791, allocations: 11.98 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.3791, allocations: 0 / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.791e-05/0.3792, allocations: 91.22 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3792, allocations: 0 / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002221/0.3794, allocations: 4 kB / 1.325 GB, free: 14.36 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.0007287/0.3801, allocations: 0.7241 MB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002756/0.3804, allocations: 51.95 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3804, allocations: 0 / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.3805, allocations: 35.91 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.3808, allocations: 8 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.3826, allocations: 1.319 MB / 1.327 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.3829, allocations: 0.6807 MB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.067e-05/0.383, allocations: 11.98 kB / 1.328 GB, free: 11.4 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.166e-05/0.383, allocations: 15.44 kB / 1.328 GB, free: 11.38 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.383, allocations: 0 / 1.328 GB, free: 11.38 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.4094, allocations: 1.856 MB / 1.33 GB, free: 9.652 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.106/8.515, allocations: 9.922 kB / 1.33 GB, free: 9.645 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.226499679964036]