Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.GreaterEqualThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",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.007985/0.007985, allocations: 101.4 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.001964/0.001964, allocations: 185.6 kB / 16.67 MB, free: 5.977 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.502/1.502, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.785/2.785, allocations: 437.1 MB / 0.7105 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 71.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3332, 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.GreaterEqualThreshold): time 0.002109/0.3353, allocations: 0.6997 MB / 1.167 GB, free: 6.578 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.3364, allocations: 0.8432 MB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.732e-05/0.3364, allocations: 4 kB / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.254e-05/0.3365, allocations: 3.938 kB / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.805e-05/0.3366, allocations: 3.938 kB / 1.168 GB, free: 5.711 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.3367, allocations: 27.97 kB / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.031e-05/0.3368, allocations: 43.91 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.3369, allocations: 15.98 kB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.47e-05/0.337, allocations: 19.92 kB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.299e-05/0.3371, allocations: 27.91 kB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.3371, allocations: 4 kB / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.419e-05/0.3372, allocations: 4 kB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.3372, allocations: 11.94 kB / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.741e-05/0.3372, allocations: 19.91 kB / 1.168 GB, free: 5.539 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.3373, allocations: 55.73 kB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3374, allocations: 0 / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3374, allocations: 0 / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.3374, 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.0005329/0.3379, allocations: 358.3 kB / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.338, allocations: 8.031 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.59e-05/0.338, allocations: 34.75 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.5e-05/0.3381, allocations: 8.844 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.3382, allocations: 177.1 kB / 1.168 GB, free: 4.82 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.3383, allocations: 384 / 1.168 GB, free: 4.82 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.3383, allocations: 8.125 kB / 1.168 GB, free: 4.812 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.3385, allocations: 65.64 kB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3385, allocations: 3.938 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.3385, allocations: 11.98 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3386, allocations: 4 kB / 1.169 GB, free: 4.723 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.3388, allocations: 43.95 kB / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004475/0.3392, allocations: 288.7 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.3394, allocations: 70.47 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.3395, allocations: 24.92 kB / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.3396, allocations: 4 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.3396, allocations: 30.56 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.3396, allocations: 0 / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004067/0.34, allocations: 113.6 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.3401, allocations: 51.41 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.019e-05/0.3401, allocations: 105.8 kB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.3402, allocations: 25.7 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/0.3402, allocations: 95.98 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.3403, allocations: 7.906 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.3403, allocations: 17.7 kB / 1.169 GB, free: 3.746 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3404, allocations: 322.8 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.961e-05/0.3405, allocations: 31.91 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.685e-05/0.3406, allocations: 19.98 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.3408, allocations: 48.81 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3408, allocations: 0 / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002358/0.341, allocations: 89.55 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3411, allocations: 8 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3411, allocations: 4 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/0.3411, allocations: 0 / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.3412, allocations: 15.92 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.3413, allocations: 0 / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.36e-05/0.3413, allocations: 11.92 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.3414, allocations: 3.938 kB / 1.17 GB, free: 3.184 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,intGreEquThr.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 8.211e-05/0.3414, allocations: 113.8 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.3415, allocations: 336 / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.756e-05/0.3415, allocations: 15.91 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3415, allocations: 7.969 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3415, allocations: 4 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.3415, allocations: 0 / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.3417, allocations: 173.7 kB / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3417, allocations: 4 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.002e-05/0.3418, allocations: 15.92 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3418, allocations: 0 / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.3418, allocations: 3.984 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3418, allocations: 0 / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3419, allocations: 4 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.3421, allocations: 187.3 kB / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.3422, allocations: 81.11 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.3422, allocations: 0 / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.931e-05/0.3423, allocations: 7.984 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.428e-05/0.3424, allocations: 15.98 kB / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.3424, allocations: 0 / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.301e-05/0.3425, allocations: 91.53 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3425, allocations: 0 / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002226/0.3427, allocations: 4 kB / 1.171 GB, free: 2.367 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 (intGreEquThr.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.0005779/0.3433, allocations: 0.7279 MB / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000248/0.3435, allocations: 47.95 kB / 1.171 GB, free: 1.566 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3435, allocations: 3.938 kB / 1.171 GB, free: 1.562 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.3437, allocations: 35.97 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.0003201/0.344, allocations: 4 kB / 1.171 GB, free: 1.523 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.3456, allocations: 1.315 MB / 1.173 GB, free: 132 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.3459, allocations: 0.6807 MB / 1.173 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.535e-05/0.346, allocations: 11.92 kB / 1.173 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.929e-05/0.3461, allocations: 23.44 kB / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.3461, allocations: 0 / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01928/0.3653, allocations: 1.847 MB / 1.175 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.722/8.087, allocations: 17.45 kB / 1.175 GB, free: 13.67 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,intGreEquThr.t,intGreEquThr.u,intGreEquThr.y Variables in the result:intGreEquThr.t,intGreEquThr.u,intGreEquThr.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,reaToInt.u,reaToInt.y,round1.n,round1.u,round1.y,time