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.001623/0.001623, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001769/0.001769, allocations: 187.9 kB / 17.2 MB, free: 5.684 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.412/1.412, allocations: 222.9 MB / 240.9 MB, free: 15.28 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.57/2.57, allocations: 437.1 MB / 0.7111 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 73.12 kB / 0.8699 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3165, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002035/0.3185, allocations: 0.7017 MB / 1.019 GB, free: 9.902 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.3196, allocations: 0.8351 MB / 1.019 GB, free: 9.055 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.122e-05/0.3197, allocations: 0 / 1.019 GB, free: 9.055 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.977e-05/0.3197, allocations: 3.938 kB / 1.02 GB, free: 9.051 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.518e-05/0.3198, allocations: 7.938 kB / 1.02 GB, free: 9.043 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000138/0.3199, allocations: 27.91 kB / 1.02 GB, free: 9.016 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.998e-05/0.32, allocations: 39.86 kB / 1.02 GB, free: 8.977 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.3202, allocations: 19.97 kB / 1.02 GB, free: 8.957 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.384e-05/0.3202, allocations: 27.92 kB / 1.02 GB, free: 8.93 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.247e-05/0.3203, allocations: 19.92 kB / 1.02 GB, free: 8.91 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.3203, allocations: 4 kB / 1.02 GB, free: 8.906 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.431e-05/0.3203, allocations: 8 kB / 1.02 GB, free: 8.898 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.105e-05/0.3204, allocations: 7.984 kB / 1.02 GB, free: 8.891 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.3204, allocations: 19.86 kB / 1.02 GB, free: 8.871 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.284e-05/0.3205, allocations: 43.86 kB / 1.02 GB, free: 8.828 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3205, allocations: 0 / 1.02 GB, free: 8.828 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3205, allocations: 0 / 1.02 GB, free: 8.828 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.848e-06/0.3205, allocations: 0 / 1.02 GB, free: 8.828 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.0005722/0.3211, allocations: 363.6 kB / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.3212, allocations: 12.03 kB / 1.02 GB, free: 8.414 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.3212, allocations: 0.9375 kB / 1.02 GB, free: 8.414 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.3214, allocations: 180.2 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.3214, allocations: 384 / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.3214, allocations: 4.375 kB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.3216, allocations: 69.77 kB / 1.02 GB, free: 8.121 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.3216, allocations: 0 / 1.02 GB, free: 8.121 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.3216, allocations: 4 kB / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.3217, allocations: 7.984 kB / 1.02 GB, free: 8.109 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002161/0.3219, allocations: 51.95 kB / 1.02 GB, free: 8.059 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.3224, allocations: 304.5 kB / 1.021 GB, free: 7.711 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.3226, allocations: 66.58 kB / 1.021 GB, free: 7.637 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.3227, allocations: 28.88 kB / 1.021 GB, free: 7.605 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.3227, allocations: 3.938 kB / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.3227, allocations: 30.56 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3228, allocations: 4 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.000428/0.3232, allocations: 109.6 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.3232, allocations: 55.41 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.917e-05/0.3233, allocations: 109.8 kB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.3234, allocations: 25.7 kB / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.42e-05/0.3234, allocations: 88.12 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.3235, allocations: 11.81 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.3235, allocations: 17.72 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.3236, allocations: 322.8 kB / 1.022 GB, free: 6.781 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.3238, allocations: 23.98 kB / 1.022 GB, free: 6.758 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.587e-05/0.3239, allocations: 27.97 kB / 1.022 GB, free: 6.73 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.3241, allocations: 48.81 kB / 1.022 GB, free: 6.68 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3241, allocations: 0 / 1.022 GB, free: 6.68 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002482/0.3243, allocations: 93.58 kB / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.3243, allocations: 4 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3244, allocations: 0 / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.3244, allocations: 0 / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.3245, allocations: 11.98 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.3245, allocations: 0 / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.444e-05/0.3246, allocations: 11.98 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.3246, allocations: 0 / 1.022 GB, free: 6.555 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 9.134e-05/0.3247, allocations: 117.8 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.3247, allocations: 7.906 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.435e-05/0.3248, allocations: 3.906 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3248, allocations: 4 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3248, allocations: 0 / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3248, allocations: 0 / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.325, allocations: 185.6 kB / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.325, allocations: 0 / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.077e-05/0.3251, allocations: 16.25 kB / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.3251, allocations: 0 / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.3251, allocations: 7.938 kB / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3251, allocations: 4 kB / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3251, allocations: 0 / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.3254, allocations: 183.4 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/0.3255, allocations: 85 kB / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.3255, allocations: 4 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.3257, allocations: 11.92 kB / 1.022 GB, free: 5.84 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.3257, allocations: 12 kB / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.3257, allocations: 7.984 kB / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.163e-05/0.3258, allocations: 87.28 kB / 1.022 GB, free: 5.734 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3258, allocations: 0 / 1.022 GB, free: 5.734 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002148/0.326, allocations: 4 kB / 1.022 GB, free: 5.73 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.0001365/0.3262, allocations: 107.1 kB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002732/0.3264, allocations: 63.94 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.3264, allocations: 0 / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.3266, allocations: 27.97 kB / 1.023 GB, free: 5.523 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.3268, allocations: 9.891 kB / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.3272, allocations: 156.8 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.3276, allocations: 0.6846 MB / 1.023 GB, free: 4.621 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.5e-05/0.3276, allocations: 11.44 kB / 1.023 GB, free: 4.609 MB / 0.795 GB Notification: Performance of SimCode: time 3.21e-07/0.3276, allocations: 0 / 1.023 GB, free: 4.609 MB / 0.795 GB Notification: Performance of Templates: time 0.002417/0.3301, allocations: 0.8077 MB / 1.024 GB, free: 3.809 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=400 -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