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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001412, allocations: 108 kB / 16.37 MB, free: 6.477 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.001376/0.001376, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.457/1.457, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.5/2.5, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.06 kB / 0.8707 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3311, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002671/0.3338, allocations: 0.7139 MB / 1.019 GB, free: 9.141 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.335, allocations: 0.8312 MB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.852e-05/0.3351, allocations: 4 kB / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.123e-05/0.3352, allocations: 3.938 kB / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.415e-05/0.3353, allocations: 11.88 kB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.3354, allocations: 23.91 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.949e-05/0.3355, allocations: 47.91 kB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.3356, allocations: 15.98 kB / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.678e-05/0.3357, allocations: 19.92 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.675e-05/0.3358, allocations: 23.92 kB / 1.02 GB, free: 8.148 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.3358, allocations: 4 kB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.305e-05/0.3359, allocations: 4 kB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.422e-05/0.3359, allocations: 15.97 kB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.889e-05/0.3359, allocations: 23.86 kB / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.336, allocations: 39.86 kB / 1.021 GB, free: 8.062 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3361, allocations: 0 / 1.021 GB, free: 8.062 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3361, allocations: 3.938 kB / 1.021 GB, free: 8.059 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.3361, allocations: 4 kB / 1.021 GB, free: 8.055 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.0005583/0.3366, allocations: 355.3 kB / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.3367, allocations: 12.62 kB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.3367, allocations: 4.938 kB / 1.021 GB, free: 7.645 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.337, allocations: 180.2 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.337, allocations: 384 / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.337, allocations: 8.375 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.3373, allocations: 65.78 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3373, allocations: 4 kB / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.3373, allocations: 0 / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3373, allocations: 0 / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000213/0.3375, allocations: 51.95 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005258/0.3381, allocations: 296.6 kB / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.3383, allocations: 58.55 kB / 1.022 GB, free: 6.891 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.3384, allocations: 32.91 kB / 1.022 GB, free: 6.855 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.3384, allocations: 8.062 kB / 1.022 GB, free: 6.848 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.3384, allocations: 38.55 kB / 1.022 GB, free: 6.801 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3385, allocations: 0 / 1.022 GB, free: 6.801 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0004122/0.3389, allocations: 105.6 kB / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.3389, allocations: 51.41 kB / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.623e-05/0.339, allocations: 113.8 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.3391, allocations: 29.7 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.767e-05/0.3391, allocations: 80.14 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.3391, allocations: 19.8 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/0.3392, allocations: 17.72 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.3393, allocations: 318.8 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.722e-05/0.3394, allocations: 19.98 kB / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.73e-05/0.3395, allocations: 23.97 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.3397, allocations: 64.75 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3397, allocations: 4 kB / 1.022 GB, free: 5.914 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002235/0.3399, allocations: 73.66 kB / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.34, allocations: 8 kB / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.34, allocations: 3.938 kB / 1.022 GB, free: 5.824 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.34, allocations: 0 / 1.022 GB, free: 5.824 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.3401, allocations: 11.98 kB / 1.023 GB, free: 5.812 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.3402, allocations: 7.984 kB / 1.023 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.843e-05/0.3402, allocations: 4 kB / 1.023 GB, free: 5.801 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.3402, allocations: 4 kB / 1.023 GB, free: 5.797 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,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.691e-05/0.3403, allocations: 120.2 kB / 1.023 GB, free: 5.672 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.3404, allocations: 7.906 kB / 1.023 GB, free: 5.664 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.329e-05/0.3404, allocations: 7.906 kB / 1.023 GB, free: 5.652 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3404, allocations: 0 / 1.023 GB, free: 5.652 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3404, allocations: 0 / 1.023 GB, free: 5.652 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.3404, allocations: 4 kB / 1.023 GB, free: 5.648 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.3406, allocations: 185.5 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3406, allocations: 0 / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.158e-05/0.3407, allocations: 15.92 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3407, allocations: 0 / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.3408, allocations: 0 / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3408, allocations: 0 / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3408, allocations: 0 / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.3411, allocations: 187.4 kB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.528e-05/0.3411, allocations: 81.02 kB / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.3411, allocations: 4 kB / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.3413, allocations: 7.984 kB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.269e-05/0.3413, allocations: 12.36 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.3413, allocations: 4 kB / 1.023 GB, free: 5.078 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.809e-05/0.3414, allocations: 83.58 kB / 1.023 GB, free: 4.996 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.013e-06/0.3414, allocations: 0 / 1.023 GB, free: 4.996 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002207/0.3416, allocations: 19.94 kB / 1.023 GB, free: 4.977 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 (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.0001375/0.3418, allocations: 99.19 kB / 1.023 GB, free: 4.867 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002618/0.3421, allocations: 59.92 kB / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3421, allocations: 0 / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.3422, allocations: 31.98 kB / 1.023 GB, free: 4.777 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.3424, allocations: 9.531 kB / 1.023 GB, free: 4.77 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003577/0.3428, allocations: 139.6 kB / 1.024 GB, free: 4.609 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.3431, allocations: 0.6807 MB / 1.024 GB, free: 3.902 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.094e-05/0.3432, allocations: 3.984 kB / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.158e-05/0.3432, allocations: 19.38 kB / 1.024 GB, free: 3.879 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.3432, allocations: 0 / 1.024 GB, free: 3.879 MB / 0.795 GB Notification: Performance of Templates: time 0.003263/0.3465, allocations: 0.8967 MB / 1.025 GB, free: 2.988 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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) Reference file matches