Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.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.LessEqual,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual",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.005838/0.005838, allocations: 102 kB / 15.73 MB, free: 5.988 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.001189/0.001189, allocations: 194.5 kB / 16.67 MB, free: 5.926 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.602/2.602, allocations: 437 MB / 0.7105 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 63.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3146, allocations: 151.6 MB / 1.166 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002062/0.3167, allocations: 0.7834 MB / 1.167 GB, free: 6.484 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.3179, allocations: 0.8584 MB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.114e-05/0.3179, allocations: 0 / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.433e-05/0.318, allocations: 7.922 kB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.99e-05/0.3181, allocations: 11.88 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.3183, allocations: 43.95 kB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.3185, allocations: 87.75 kB / 1.168 GB, free: 5.465 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.3186, allocations: 23.98 kB / 1.168 GB, free: 5.441 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.3187, allocations: 35.91 kB / 1.168 GB, free: 5.406 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.091e-05/0.3188, allocations: 51.75 kB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.3189, allocations: 8 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.938e-05/0.3189, allocations: 12 kB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.074e-05/0.3189, allocations: 15.98 kB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.545e-05/0.319, allocations: 47.66 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.3192, allocations: 91.66 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3192, allocations: 0 / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3192, allocations: 0 / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.3192, allocations: 0 / 1.168 GB, free: 5.184 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006606/0.3199, allocations: 390.9 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3199, allocations: 16.03 kB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.03e-05/0.32, allocations: 30.75 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.32, allocations: 8.844 kB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.3202, allocations: 184.2 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.3202, allocations: 4.375 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.3202, allocations: 12.12 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003091/0.3205, allocations: 105.6 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.3206, allocations: 0 / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3206, allocations: 4 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.3206, allocations: 0 / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003618/0.3209, allocations: 99.89 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005969/0.3216, allocations: 340.6 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006392/0.3222, allocations: 122.6 kB / 1.169 GB, free: 3.738 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.3224, allocations: 48.81 kB / 1.17 GB, free: 3.688 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.3224, allocations: 0 / 1.17 GB, free: 3.688 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.3225, allocations: 42.55 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.3225, allocations: 7.938 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.000645/0.3231, allocations: 169.5 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.3232, allocations: 55.41 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.3233, allocations: 129.7 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.3233, allocations: 33.7 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/0.3234, allocations: 95.92 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.3235, allocations: 27.69 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-05/0.3235, allocations: 21.72 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3236, allocations: 318.8 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.3238, allocations: 43.95 kB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.324, allocations: 48.27 kB / 1.17 GB, free: 2.652 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.3243, allocations: 100.8 kB / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3243, allocations: 0 / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003802/0.3247, allocations: 133.6 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3247, allocations: 6.031 kB / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3248, allocations: 4 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3248, allocations: 0 / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.325, allocations: 23.97 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.325, allocations: 3.938 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.3251, allocations: 23.81 kB / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.3251, allocations: 15.92 kB / 1.171 GB, free: 2.34 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: 3 (reaToInt1.y,reaToInt.y,intLesEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.175e-05/0.3252, allocations: 121.8 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.3253, allocations: 0 / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.933e-05/0.3253, allocations: 16.36 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.3253, allocations: 0 / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.3253, allocations: 3.938 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3253, allocations: 0 / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.3255, allocations: 201.5 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3255, allocations: 3.984 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.3257, allocations: 23.97 kB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3257, allocations: 4 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3257, allocations: 0 / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3257, allocations: 0 / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3257, allocations: 3.938 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000441/0.3262, allocations: 231.4 kB / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.365e-05/0.3262, allocations: 89.02 kB / 1.171 GB, free: 1.562 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.3263, allocations: 0 / 1.171 GB, free: 1.562 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.3264, allocations: 15.97 kB / 1.171 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.69e-05/0.3265, allocations: 23.86 kB / 1.171 GB, free: 1.523 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.3265, allocations: 4 kB / 1.171 GB, free: 1.52 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.497e-05/0.3266, allocations: 95.27 kB / 1.172 GB, free: 1.426 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3266, allocations: 4 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002357/0.3269, allocations: 12 kB / 1.172 GB, free: 1.41 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: 3 (intLesEqu.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0007739/0.3276, allocations: 0.7709 MB / 1.172 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004047/0.3281, allocations: 103.8 kB / 1.172 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3281, allocations: 0 / 1.172 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.3283, allocations: 63.94 kB / 1.172 GB, free: 460 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.3286, allocations: 11.94 kB / 1.172 GB, free: 448 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.3308, allocations: 1.553 MB / 1.174 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.3311, allocations: 0.6885 MB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.994e-05/0.3312, allocations: 12 kB / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.804e-05/0.3313, allocations: 27.42 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of SimCode: time 6.41e-07/0.3313, allocations: 0 / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02041/0.3517, allocations: 2.698 MB / 1.177 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.592/7.943, allocations: 18.39 kB / 1.177 GB, free: 11.44 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,intLesEqu.u1,intLesEqu.u2,intLesEqu.y Variables in the result:intLesEqu.u1,intLesEqu.u2,intLesEqu.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,ramp2.duration,ramp2.height,ramp2.offset,ramp2.startTime,ramp2.y,reaToInt.u,reaToInt.y,reaToInt1.u,reaToInt1.y,round1.n,round1.u,round1.y,round2.n,round2.u,round2.y,time