Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007671/0.007671, allocations: 103.7 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001406, allocations: 196.8 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.309/2.309, allocations: 390.2 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 64.19 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2956, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002353/0.298, allocations: 0.7083 MB / 1.088 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.2992, allocations: 0.8355 MB / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.509e-05/0.2993, allocations: 0 / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.103e-05/0.2994, allocations: 3.938 kB / 1.089 GB, free: 468 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.491e-05/0.2995, allocations: 3.938 kB / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.2997, allocations: 27.91 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.2998, allocations: 39.86 kB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.2999, allocations: 23.98 kB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.3001, allocations: 23.91 kB / 1.089 GB, free: 348 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.786e-05/0.3001, allocations: 19.92 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/0.3002, allocations: 4 kB / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.346e-05/0.3002, allocations: 4 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.3002, allocations: 11.98 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.225e-05/0.3003, allocations: 23.84 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.3004, allocations: 43.88 kB / 1.089 GB, free: 240 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3004, allocations: 4 kB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.364e-06/0.3004, allocations: 0 / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.3004, allocations: 0 / 1.089 GB, free: 236 kB / 0.8419 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.0006628/0.3011, allocations: 350.3 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.3012, allocations: 11.97 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.942e-05/0.3012, allocations: 42.73 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.3013, allocations: 4.844 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.3015, allocations: 173.1 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.3015, allocations: 4.375 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.3015, allocations: 12.12 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.3018, allocations: 69.64 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3018, allocations: 3.938 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.3018, allocations: 4 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.3018, allocations: 3.984 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002069/0.302, allocations: 51.94 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004956/0.3025, allocations: 292.7 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.3027, allocations: 58.59 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.3029, allocations: 32.86 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.3029, allocations: 0 / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.3029, allocations: 38.56 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.3029, allocations: 0 / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004283/0.3034, allocations: 105.6 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.3034, allocations: 55.39 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.256e-05/0.3035, allocations: 105.9 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.3035, allocations: 33.69 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.846e-05/0.3036, allocations: 84.05 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.3036, allocations: 11.91 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.3037, allocations: 21.7 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3038, allocations: 318.8 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.3039, allocations: 19.98 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.319e-05/0.304, allocations: 23.97 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.3042, allocations: 56.81 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.3043, allocations: 7.938 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000241/0.3045, allocations: 77.64 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.3045, allocations: 8 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3045, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.3046, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.3047, allocations: 11.98 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.3047, allocations: 0 / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.871e-05/0.3048, allocations: 19.83 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.3048, allocations: 3.938 kB / 1.091 GB, free: 13.93 MB / 0.8575 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.0001648/0.305, allocations: 113.8 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.305, allocations: 4 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.483e-05/0.3051, allocations: 7.906 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3051, allocations: 3.938 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3051, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3051, allocations: 3.938 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.3053, allocations: 181.6 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.3053, allocations: 4 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.623e-05/0.3054, allocations: 15.92 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3054, allocations: 336 / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.3054, allocations: 0 / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3054, allocations: 0 / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3054, allocations: 3.984 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002992/0.3057, allocations: 187.3 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/0.3058, allocations: 85.09 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.3058, allocations: 4 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-05/0.3059, allocations: 8 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/0.306, allocations: 11.98 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.306, allocations: 3.984 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.285e-05/0.3061, allocations: 87.22 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3061, allocations: 0 / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002184/0.3063, allocations: 12 kB / 1.092 GB, free: 13.11 MB / 0.8575 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.0006101/0.3069, allocations: 0.7162 MB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000252/0.3072, allocations: 55.94 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3072, allocations: 8 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.3073, allocations: 31.91 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.3076, allocations: 6.266 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.3093, allocations: 1.321 MB / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.3096, allocations: 0.6845 MB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.083e-05/0.3096, allocations: 8 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.285e-05/0.3097, allocations: 23.42 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of SimCode: time 3.51e-07/0.3097, allocations: 0 / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3395/0.6492, allocations: 1.873 MB / 1.097 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.551, allocations: 4.812 kB / 1.097 GB, free: 8.367 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,intLesEquThr.t,intLesEquThr.u,intLesEquThr.y Variables in the result:intLesEquThr.t,intLesEquThr.u,intLesEquThr.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,reaToInt.u,reaToInt.y,round1.n,round1.u,round1.y,time