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.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.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.001398/0.001398, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001579/0.001579, allocations: 194.2 kB / 16.25 MB, free: 6.629 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.507/1.507, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.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.812/2.812, allocations: 437 MB / 0.7101 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 63.89 kB / 0.8688 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8762/0.8782, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002411/0.8806, allocations: 0.8833 MB / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.8819, allocations: 0.8663 MB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.882, allocations: 0 / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.8823, allocations: 11.88 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.001e-05/0.8823, allocations: 15.86 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.8826, allocations: 19.98 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.8827, allocations: 71.84 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.8829, allocations: 31.97 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.8831, allocations: 39.78 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.8832, allocations: 31.84 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.8832, allocations: 8 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.635e-05/0.8832, allocations: 4 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.795e-05/0.8833, allocations: 15.94 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.483e-05/0.8833, allocations: 27.8 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.8835, allocations: 77.66 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.8835, allocations: 0 / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.654e-05/0.8835, allocations: 3.984 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.8836, allocations: 0 / 1.019 GB, free: 0.5977 MB / 0.7637 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.0008046/0.8844, allocations: 391 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 6.498e-05/0.8844, allocations: 12.03 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.265e-05/0.8845, allocations: 8.844 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.8849, allocations: 204.1 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.8849, allocations: 4.375 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.8849, allocations: 8.375 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.8851, allocations: 58.23 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.8851, allocations: 192 / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.8852, allocations: 3.938 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.8852, allocations: 4 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.8853, allocations: 39.92 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005711/0.8859, allocations: 316.6 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.8861, allocations: 54.59 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.388e-05/0.8862, allocations: 21 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.8862, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.8863, allocations: 30.56 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.8863, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002765/0.8865, allocations: 73.58 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.169e-05/0.8866, allocations: 55.41 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.8868, allocations: 131.9 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.8868, allocations: 33.69 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.133e-05/0.8869, allocations: 99.98 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.8869, allocations: 7.906 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.887, allocations: 17.7 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.8871, allocations: 318.8 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.529e-05/0.8872, allocations: 19.98 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.404e-05/0.8873, allocations: 20.17 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.789e-05/0.8874, allocations: 32.92 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.8874, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001366/0.8875, allocations: 65.59 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.8875, allocations: 7.984 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.8875, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.8876, allocations: 3.938 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.399e-05/0.8876, allocations: 7.938 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.8877, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.541e-05/0.8877, allocations: 15.92 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.8878, allocations: 0 / 1.021 GB, free: 14.34 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.0001103/0.8879, allocations: 121.8 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.8879, allocations: 7.906 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.305e-05/0.8879, allocations: 12.23 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.8879, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.888, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.888, allocations: 8 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.8882, allocations: 185.6 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.8882, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-05/0.8882, allocations: 4 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.8883, allocations: 3.938 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.8883, allocations: 3.984 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.8883, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.8883, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.8885, allocations: 167.3 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.8885, allocations: 81.11 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.8886, allocations: 0 / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.8887, allocations: 7.984 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.8887, allocations: 11.98 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.8888, allocations: 4 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.947e-05/0.8888, allocations: 99.27 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8888, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002204/0.8891, allocations: 19.84 kB / 1.022 GB, free: 13.52 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.0001618/0.8892, allocations: 107.8 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001626/0.8894, allocations: 31.98 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8894, allocations: 3.938 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.692e-05/0.8895, allocations: 19.98 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.8898, allocations: 8.781 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004202/0.8903, allocations: 182.7 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.8906, allocations: 0.6885 MB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.616e-05/0.8907, allocations: 12.27 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.61e-05/0.8907, allocations: 19.42 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8907, allocations: 0 / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of Templates: time 0.003692/0.8944, allocations: 0.7632 MB / 1.023 GB, free: 11.64 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=400 -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/jenkins/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