Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_10_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_10_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.0008789/0.0008789, allocations: 98.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.001079, allocations: 184.2 kB / 16.92 MB, free: 6.895 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.375/1.375, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.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.74/2.74, allocations: 437.8 MB / 0.7128 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003507, allocations: 12 kB / 0.8735 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7011/0.7014, allocations: 153.8 MB / 1.024 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.00102/0.7025, allocations: 0.5486 MB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.7036, allocations: 0.8585 MB / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.7037, allocations: 4 kB / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.7039, allocations: 15.86 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.246e-05/0.7039, allocations: 7.875 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.7041, allocations: 23.97 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.7042, allocations: 75.72 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.7044, allocations: 31.97 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.627e-05/0.7045, allocations: 23.92 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.077e-05/0.7046, allocations: 27.84 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.7046, allocations: 0 / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.7046, allocations: 4 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.7047, allocations: 7.875 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.27e-05/0.7047, allocations: 53.5 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.264e-05/0.7048, allocations: 53.83 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.7048, allocations: 0 / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7048, allocations: 8 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.7049, allocations: 0 / 1.025 GB, free: 14.15 MB / 0.7794 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.0005315/0.7054, allocations: 387.2 kB / 1.026 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.7054, allocations: 8.031 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.7055, allocations: 8.844 kB / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.7057, allocations: 200.2 kB / 1.026 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.7057, allocations: 384 / 1.026 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.7057, allocations: 4.375 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.7059, allocations: 66.17 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.7059, allocations: 192 / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.7059, allocations: 7.938 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.706, allocations: 0 / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.7061, allocations: 39.95 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005469/0.7066, allocations: 336.6 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.7068, allocations: 54.55 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.806e-05/0.7069, allocations: 20.92 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.7069, allocations: 0 / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.707, allocations: 30.66 kB / 1.027 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 2.524e-06/0.707, allocations: 96 / 1.027 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002729/0.7072, allocations: 93.5 kB / 1.027 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.7073, allocations: 51.41 kB / 1.027 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.7074, allocations: 131.7 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.7075, allocations: 29.7 kB / 1.027 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.7075, allocations: 100 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.7076, allocations: 7.844 kB / 1.027 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.7076, allocations: 17.72 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.7077, allocations: 326.8 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.619e-05/0.7078, allocations: 12 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.216e-05/0.7078, allocations: 19.98 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.648e-05/0.7079, allocations: 32.78 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.708, allocations: 4 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000153/0.7081, allocations: 73.58 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.7081, allocations: 4 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.7081, allocations: 4 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.7082, allocations: 0 / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.058e-05/0.7082, allocations: 4 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.7083, allocations: 4 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.669e-05/0.7083, allocations: 19.92 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.7084, allocations: 0 / 1.027 GB, free: 11.87 MB / 0.7794 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 0.0001021/0.7085, allocations: 122.3 kB / 1.028 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.7085, allocations: 7.906 kB / 1.028 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.597e-05/0.7085, allocations: 12.25 kB / 1.028 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.7086, allocations: 3.938 kB / 1.028 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.7086, allocations: 0 / 1.028 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.7086, allocations: 0 / 1.028 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.7088, allocations: 185.6 kB / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.7088, allocations: 0 / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.686e-05/0.7088, allocations: 7.984 kB / 1.028 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.7088, allocations: 0 / 1.028 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.7088, allocations: 7.938 kB / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.7089, allocations: 0 / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.7089, allocations: 0 / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.7091, allocations: 167.7 kB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.7091, allocations: 85.06 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.7091, allocations: 7.984 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.7092, allocations: 11.98 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.7093, allocations: 7.984 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.7093, allocations: 0 / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.851e-05/0.7094, allocations: 116.6 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7094, allocations: 0 / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002309/0.7096, allocations: 11.94 kB / 1.028 GB, free: 11.03 MB / 0.7794 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.0001341/0.7098, allocations: 103.2 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001598/0.7099, allocations: 35.98 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7099, allocations: 0 / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.142e-05/0.71, allocations: 19.98 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.7103, allocations: 14.47 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003986/0.7107, allocations: 214.2 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.711, allocations: 0.6965 MB / 1.029 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.711, allocations: 11.44 kB / 1.029 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.711, allocations: 0 / 1.029 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of Templates: time 0.002463/0.7135, allocations: 0.952 MB / 1.03 GB, free: 8.926 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches