Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008837/0.008837, allocations: 104.9 kB / 15.74 MB, free: 6.066 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.002084/0.002084, allocations: 195.3 kB / 16.68 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.773/2.773, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 72.11 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3188, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001756/0.3206, allocations: 0.7149 MB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009123/0.3215, allocations: 0.8273 MB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.035e-05/0.3215, allocations: 0 / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.102e-05/0.3215, allocations: 3.938 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.758e-05/0.3216, allocations: 7.938 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000144/0.3218, allocations: 31.89 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.956e-05/0.3219, allocations: 39.92 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.322, allocations: 11.98 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.585e-05/0.322, allocations: 27.86 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.623e-05/0.3221, allocations: 23.91 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.3221, allocations: 8 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.016e-05/0.3221, allocations: 4 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.119e-05/0.3221, allocations: 11.98 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.404e-05/0.3222, allocations: 19.86 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.3223, allocations: 43.86 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3223, allocations: 0 / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3223, allocations: 0 / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.3223, allocations: 0 / 1.222 GB, free: 12 MB / 0.9825 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.0005143/0.3228, allocations: 367.2 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.3228, allocations: 12.03 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.3229, allocations: 4.891 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.323, allocations: 164.4 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.323, allocations: 4.375 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.323, allocations: 8.312 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.3232, allocations: 65.59 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3232, allocations: 4 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.3233, allocations: 0 / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3233, allocations: 7.938 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/0.3235, allocations: 55.94 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.3239, allocations: 284.8 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.3241, allocations: 70.45 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.3242, allocations: 36.92 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.3242, allocations: 0 / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.3242, allocations: 30.56 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.3242, allocations: 0 / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004005/0.3246, allocations: 113.5 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.3247, allocations: 55.41 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.836e-05/0.3247, allocations: 109.8 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.3248, allocations: 29.7 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.595e-05/0.3248, allocations: 88.09 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.3248, allocations: 7.891 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.3249, allocations: 21.7 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.325, allocations: 318.8 kB / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.3251, allocations: 27.97 kB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.56e-05/0.3252, allocations: 23.98 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.3254, allocations: 48.81 kB / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.3254, allocations: 0 / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002128/0.3256, allocations: 89.53 kB / 1.224 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3256, allocations: 8 kB / 1.224 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3256, allocations: 4 kB / 1.224 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3256, allocations: 0 / 1.224 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.3257, allocations: 11.98 kB / 1.224 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.3257, allocations: 0 / 1.224 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.376e-05/0.3258, allocations: 11.98 kB / 1.224 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/0.3258, allocations: 0 / 1.224 GB, free: 9.738 MB / 0.9825 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 7.992e-05/0.3259, allocations: 114.3 kB / 1.224 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.3259, allocations: 4 kB / 1.224 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.465e-05/0.3259, allocations: 11.91 kB / 1.224 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3259, allocations: 3.984 kB / 1.224 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.3259, allocations: 4 kB / 1.224 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3259, allocations: 3.938 kB / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.3261, allocations: 177.5 kB / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3261, allocations: 0 / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.664e-05/0.3262, allocations: 11.98 kB / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3262, allocations: 0 / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.3262, allocations: 7.984 kB / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.3262, allocations: 0 / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3262, allocations: 3.938 kB / 1.225 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.3265, allocations: 187.8 kB / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.556e-05/0.3265, allocations: 81.06 kB / 1.225 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.3265, allocations: 0 / 1.225 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.813e-05/0.3266, allocations: 7.984 kB / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.903e-05/0.3267, allocations: 16.02 kB / 1.225 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.3267, allocations: 8 kB / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.562e-05/0.3267, allocations: 83.28 kB / 1.225 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3267, allocations: 0 / 1.225 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002141/0.3269, allocations: 15.88 kB / 1.225 GB, free: 8.91 MB / 0.9825 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.0001411/0.3271, allocations: 99.23 kB / 1.225 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002476/0.3273, allocations: 59.89 kB / 1.225 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3273, allocations: 4 kB / 1.225 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.3274, allocations: 27.97 kB / 1.225 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.3277, allocations: 7.938 kB / 1.225 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003389/0.3281, allocations: 141.3 kB / 1.225 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.3283, allocations: 0.6807 MB / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.852e-05/0.3283, allocations: 8 kB / 1.226 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.924e-05/0.3284, allocations: 15.42 kB / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.3284, allocations: 0 / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of Templates: time 0.002963/0.3313, allocations: 0.898 MB / 1.227 GB, free: 6.922 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches