Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 106.4 kB / 15.99 MB, free: 6.348 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.001714/0.001714, allocations: 199.8 kB / 16.91 MB, free: 6.188 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.389/1.389, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.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.413/2.413, allocations: 437 MB / 0.7107 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 59.41 kB / 0.8694 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3228, allocations: 151.6 MB / 1.017 GB, free: 10.96 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002433/0.3253, allocations: 0.7719 MB / 1.018 GB, free: 10.18 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.3265, allocations: 0.8366 MB / 1.019 GB, free: 9.332 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.168e-05/0.3266, allocations: 0 / 1.019 GB, free: 9.332 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.408e-05/0.3267, allocations: 0 / 1.019 GB, free: 9.332 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.099e-05/0.3268, allocations: 3.938 kB / 1.019 GB, free: 9.328 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001745/0.327, allocations: 27.97 kB / 1.019 GB, free: 9.301 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.863e-05/0.3271, allocations: 47.84 kB / 1.019 GB, free: 9.254 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.3272, allocations: 16 kB / 1.019 GB, free: 9.238 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.166e-05/0.3273, allocations: 19.92 kB / 1.019 GB, free: 9.219 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.314e-05/0.3273, allocations: 27.89 kB / 1.019 GB, free: 9.191 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.3274, allocations: 4 kB / 1.019 GB, free: 9.188 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.26e-05/0.3274, allocations: 4 kB / 1.019 GB, free: 9.184 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.464e-05/0.3274, allocations: 8 kB / 1.019 GB, free: 9.176 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.985e-05/0.3275, allocations: 23.86 kB / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.72e-05/0.3276, allocations: 27.92 kB / 1.019 GB, free: 9.125 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3276, allocations: 0 / 1.019 GB, free: 9.125 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3276, allocations: 8 kB / 1.019 GB, free: 9.117 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.3276, allocations: 0 / 1.019 GB, free: 9.117 MB / 0.795 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.0005862/0.3282, allocations: 363.6 kB / 1.02 GB, free: 8.715 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.3282, allocations: 8.031 kB / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.3283, allocations: 8.938 kB / 1.02 GB, free: 8.699 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.3284, allocations: 172.2 kB / 1.02 GB, free: 8.492 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.3285, allocations: 4.375 kB / 1.02 GB, free: 8.488 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.3285, allocations: 4.375 kB / 1.02 GB, free: 8.484 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.3287, allocations: 73.78 kB / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.3287, allocations: 0 / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.3287, allocations: 0 / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3288, allocations: 3.938 kB / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002032/0.329, allocations: 47.95 kB / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005119/0.3295, allocations: 304.6 kB / 1.02 GB, free: 8.008 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.3297, allocations: 58.55 kB / 1.02 GB, free: 7.941 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.3298, allocations: 32.91 kB / 1.02 GB, free: 7.906 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.3299, allocations: 4.062 kB / 1.02 GB, free: 7.902 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.3299, allocations: 34.56 kB / 1.02 GB, free: 7.859 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.3299, allocations: 4 kB / 1.02 GB, free: 7.855 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0004342/0.3303, allocations: 105.6 kB / 1.02 GB, free: 7.746 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.3304, allocations: 51.41 kB / 1.02 GB, free: 7.684 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.404e-05/0.3305, allocations: 117.8 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.206e-05/0.3305, allocations: 25.7 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.293e-05/0.3306, allocations: 92.06 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.3306, allocations: 15.81 kB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.3307, allocations: 17.72 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3308, allocations: 322.8 kB / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.331, allocations: 19.98 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.645e-05/0.3311, allocations: 23.97 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.3313, allocations: 56.75 kB / 1.021 GB, free: 6.969 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3313, allocations: 4 kB / 1.021 GB, free: 6.965 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002283/0.3315, allocations: 81.64 kB / 1.021 GB, free: 6.879 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3316, allocations: 4 kB / 1.021 GB, free: 6.875 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3316, allocations: 4 kB / 1.021 GB, free: 6.871 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.3316, allocations: 0 / 1.021 GB, free: 6.871 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.3317, allocations: 11.98 kB / 1.021 GB, free: 6.859 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3317, allocations: 0 / 1.021 GB, free: 6.859 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.961e-05/0.3318, allocations: 7.984 kB / 1.021 GB, free: 6.852 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.3318, allocations: 4 kB / 1.021 GB, free: 6.848 MB / 0.795 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,intGreThr.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.0001276/0.332, allocations: 120.2 kB / 1.021 GB, free: 6.723 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.332, allocations: 7.906 kB / 1.021 GB, free: 6.715 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.601e-05/0.332, allocations: 7.906 kB / 1.021 GB, free: 6.703 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.332, allocations: 0 / 1.021 GB, free: 6.703 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3321, allocations: 3.938 kB / 1.021 GB, free: 6.699 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3321, allocations: 0 / 1.021 GB, free: 6.699 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.3323, allocations: 181.5 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3323, allocations: 0 / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.016e-05/0.3324, allocations: 15.98 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3324, allocations: 0 / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.3324, allocations: 0 / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3324, allocations: 0 / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3324, allocations: 3.984 kB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.3327, allocations: 179.5 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.3327, allocations: 96.94 kB / 1.022 GB, free: 6.148 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.3328, allocations: 4 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.3329, allocations: 7.984 kB / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.461e-05/0.3329, allocations: 12.31 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.333, allocations: 7.984 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.981e-05/0.333, allocations: 83.22 kB / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.333, allocations: 0 / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002211/0.3333, allocations: 12 kB / 1.022 GB, free: 6.023 MB / 0.795 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 (intGreThr.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.0001274/0.3334, allocations: 111.2 kB / 1.022 GB, free: 5.902 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002517/0.3336, allocations: 51.95 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3337, allocations: 0 / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.3338, allocations: 35.91 kB / 1.022 GB, free: 5.816 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.3341, allocations: 6.391 kB / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003767/0.3345, allocations: 171.3 kB / 1.022 GB, free: 5.613 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.3348, allocations: 0.6768 MB / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.119e-05/0.3349, allocations: 11.44 kB / 1.023 GB, free: 4.898 MB / 0.795 GB Notification: Performance of SimCode: time 3.41e-07/0.3349, allocations: 0 / 1.023 GB, free: 4.898 MB / 0.795 GB Notification: Performance of Templates: time 0.00227/0.3372, allocations: 0.8104 MB / 1.024 GB, free: 4.094 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches