Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_10_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.006243/0.006243, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001183/0.001183, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.686/2.686, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 67.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3068, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001903/0.3088, allocations: 0.7014 MB / 1.167 GB, free: 6.574 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.3099, allocations: 0.8393 MB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.764e-05/0.31, allocations: 0 / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.025e-05/0.3101, allocations: 3.938 kB / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.991e-05/0.3102, allocations: 11.92 kB / 1.168 GB, free: 5.707 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/0.3103, allocations: 27.98 kB / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.939e-05/0.3104, allocations: 39.91 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.3105, allocations: 15.98 kB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.857e-05/0.3106, allocations: 23.92 kB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.424e-05/0.3107, allocations: 19.91 kB / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.3107, allocations: 4 kB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.816e-05/0.3107, allocations: 8 kB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.509e-05/0.3108, allocations: 15.92 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.3108, allocations: 15.94 kB / 1.168 GB, free: 5.539 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.3109, allocations: 55.72 kB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3109, allocations: 0 / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3109, allocations: 0 / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.946e-06/0.311, allocations: 0 / 1.168 GB, free: 5.484 MB / 0.92 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.0005323/0.3115, allocations: 354.3 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.3115, allocations: 8.031 kB / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.872e-05/0.3116, allocations: 42.75 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.3116, allocations: 4.844 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.3118, allocations: 173.2 kB / 1.168 GB, free: 4.824 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.3118, allocations: 384 / 1.168 GB, free: 4.824 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.3118, allocations: 8.125 kB / 1.168 GB, free: 4.816 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.312, allocations: 61.66 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3121, allocations: 0 / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.3121, allocations: 11.94 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3121, allocations: 0 / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001973/0.3123, allocations: 55.94 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.3127, allocations: 288.7 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.3129, allocations: 66.47 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.313, allocations: 36.91 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.3131, allocations: 0 / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.3131, allocations: 30.56 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.3131, allocations: 0 / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004473/0.3135, allocations: 105.6 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.3136, allocations: 51.41 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.964e-05/0.3137, allocations: 109.8 kB / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.3137, allocations: 29.7 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/0.3138, allocations: 88.05 kB / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.3138, allocations: 15.83 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/0.3139, allocations: 25.59 kB / 1.169 GB, free: 3.738 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.314, allocations: 322.8 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.3141, allocations: 19.98 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.169e-05/0.3142, allocations: 31.97 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.3144, allocations: 48.81 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3144, allocations: 4 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002374/0.3147, allocations: 81.56 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.3147, allocations: 8 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3147, allocations: 0 / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.3147, allocations: 0 / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.3149, allocations: 19.92 kB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.3149, allocations: 3.984 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.675e-05/0.315, allocations: 7.938 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.315, allocations: 3.938 kB / 1.17 GB, free: 3.18 MB / 0.92 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.229e-05/0.3151, allocations: 117.8 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.3151, allocations: 4 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.3152, allocations: 7.906 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3152, allocations: 0 / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3152, allocations: 4 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3152, allocations: 0 / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.3155, allocations: 181.6 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3155, allocations: 0 / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.95e-05/0.3156, allocations: 11.98 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.3156, allocations: 0 / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.3156, allocations: 0 / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3156, allocations: 0 / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3156, allocations: 0 / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.3159, allocations: 195.6 kB / 1.17 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-05/0.316, allocations: 81.11 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.316, allocations: 0 / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.3161, allocations: 7.984 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.582e-05/0.3162, allocations: 11.98 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.3162, allocations: 0 / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.505e-05/0.3163, allocations: 95.52 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3163, allocations: 4 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002324/0.3165, allocations: 8 kB / 1.171 GB, free: 2.363 MB / 0.92 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.0006109/0.3171, allocations: 0.7162 MB / 1.171 GB, free: 1.621 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002532/0.3174, allocations: 63.88 kB / 1.171 GB, free: 1.559 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3174, allocations: 0 / 1.171 GB, free: 1.559 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.3175, allocations: 31.92 kB / 1.171 GB, free: 1.527 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.3179, allocations: 7.984 kB / 1.171 GB, free: 1.52 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.3193, allocations: 1.321 MB / 1.173 GB, free: 124 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.3196, allocations: 0.6807 MB / 1.173 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.013e-05/0.3196, allocations: 4 kB / 1.173 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.103e-05/0.3197, allocations: 23.42 kB / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of SimCode: time 3.61e-07/0.3197, allocations: 3.938 kB / 1.173 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01678/0.3365, allocations: 1.839 MB / 1.175 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.641/7.977, allocations: 10.81 kB / 1.175 GB, free: 13.66 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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