Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 105.9 kB / 16.27 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.002083/0.002083, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.55/1.55, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.73/2.73, allocations: 469.8 MB / 0.743 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 66.62 kB / 0.9092 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3353, allocations: 159.1 MB / 1.065 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002125/0.3375, allocations: 0.8131 MB / 1.065 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.3386, allocations: 0.874 MB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.027e-05/0.3387, allocations: 0 / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.3388, allocations: 19.81 kB / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.595e-05/0.3389, allocations: 11.86 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001529/0.339, allocations: 27.92 kB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.3392, allocations: 75.78 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.3393, allocations: 27.98 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.062e-05/0.3394, allocations: 35.84 kB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.436e-05/0.3395, allocations: 27.84 kB / 1.067 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.3395, allocations: 8 kB / 1.067 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.534e-05/0.3396, allocations: 4 kB / 1.067 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.754e-05/0.3396, allocations: 15.94 kB / 1.067 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.3396, allocations: 27.8 kB / 1.067 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.3398, allocations: 80.02 kB / 1.067 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3398, allocations: 0 / 1.067 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3398, allocations: 0 / 1.067 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3398, allocations: 0 / 1.067 GB, free: 12.69 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006001/0.3404, allocations: 391.1 kB / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.3404, allocations: 12.62 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.19e-05/0.3405, allocations: 8.844 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.3407, allocations: 196.1 kB / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.3407, allocations: 4.375 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.3408, allocations: 12.31 kB / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.3409, allocations: 58.23 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-06/0.341, allocations: 192 / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.341, allocations: 7.938 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.341, allocations: 0 / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.3411, allocations: 35.98 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005274/0.3416, allocations: 316.6 kB / 1.068 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.3418, allocations: 54.55 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.656e-05/0.3419, allocations: 20.95 kB / 1.068 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.3419, allocations: 0 / 1.068 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.342, allocations: 30.56 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.342, allocations: 0 / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0002658/0.3422, allocations: 77.66 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.3423, allocations: 55.41 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.3424, allocations: 132 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.3425, allocations: 29.7 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.847e-05/0.3425, allocations: 107.9 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.3426, allocations: 7.891 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.3426, allocations: 17.72 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3428, allocations: 318.8 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.417e-05/0.3428, allocations: 15.94 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.172e-05/0.3429, allocations: 28.17 kB / 1.069 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.986e-05/0.343, allocations: 32.92 kB / 1.069 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.343, allocations: 0 / 1.069 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001542/0.3431, allocations: 69.58 kB / 1.069 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3432, allocations: 4 kB / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3432, allocations: 0 / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.3432, allocations: 0 / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.513e-05/0.3433, allocations: 4 kB / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3433, allocations: 4 kB / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.166e-05/0.3434, allocations: 15.92 kB / 1.069 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.3434, allocations: 0 / 1.069 GB, free: 10.44 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.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.673e-05/0.3435, allocations: 117.8 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/0.3435, allocations: 11.89 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.3436, allocations: 12.19 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3436, allocations: 0 / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3436, allocations: 0 / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.3436, allocations: 8 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.3438, allocations: 185.6 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3438, allocations: 0 / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.82e-05/0.3439, allocations: 7.984 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3439, allocations: 0 / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.3439, allocations: 0 / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3439, allocations: 0 / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3439, allocations: 0 / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.3441, allocations: 167.3 kB / 1.069 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.712e-05/0.3442, allocations: 85.02 kB / 1.069 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.3442, allocations: 4 kB / 1.069 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.3443, allocations: 7.984 kB / 1.069 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.3444, allocations: 7.984 kB / 1.069 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-06/0.3444, allocations: 4 kB / 1.069 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.291e-05/0.3445, allocations: 101.5 kB / 1.069 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3445, allocations: 0 / 1.069 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002376/0.3447, allocations: 11.94 kB / 1.069 GB, free: 9.625 MB / 0.8419 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 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001626/0.3449, allocations: 109.3 kB / 1.069 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001678/0.3451, allocations: 35.98 kB / 1.069 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3451, allocations: 0 / 1.069 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.657e-05/0.3452, allocations: 23.92 kB / 1.069 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.3455, allocations: 15.88 kB / 1.07 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004102/0.3459, allocations: 200.3 kB / 1.07 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.3463, allocations: 0.694 MB / 1.07 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.976e-05/0.3463, allocations: 15.42 kB / 1.07 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of SimCode: time 2.81e-07/0.3463, allocations: 4 kB / 1.07 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of Templates: time 0.002711/0.349, allocations: 0.9588 MB / 1.071 GB, free: 7.516 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches