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.001287/0.001287, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001343/0.001343, allocations: 199.2 kB / 16.14 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.519/1.519, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.949/2.949, allocations: 437 MB / 0.7099 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 59.91 kB / 0.8686 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8718/0.8737, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.003685/0.8775, allocations: 0.8872 MB / 1.018 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.879, allocations: 0.8624 MB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.8791, allocations: 4 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.8794, allocations: 11.88 kB / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.233e-05/0.8795, allocations: 15.92 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.8797, allocations: 27.91 kB / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.8799, allocations: 63.84 kB / 1.018 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.8801, allocations: 27.98 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.8802, allocations: 39.78 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.8803, allocations: 27.84 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.8804, allocations: 4 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.707e-05/0.8804, allocations: 0 / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.187e-05/0.8805, allocations: 11.94 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.744e-05/0.8805, allocations: 27.8 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.8807, allocations: 69.7 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.8807, allocations: 4 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.485e-06/0.8807, allocations: 0 / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.8808, allocations: 4 kB / 1.019 GB, free: 0.7188 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.0008277/0.8816, allocations: 395.1 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/0.8817, allocations: 8.031 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.84e-05/0.8817, allocations: 8.844 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.8821, allocations: 201.8 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.8821, allocations: 8.375 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.8821, allocations: 384 / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.8824, allocations: 66.23 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.8824, allocations: 192 / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.8824, allocations: 7.938 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.8825, allocations: 7.922 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.8826, allocations: 35.91 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007027/0.8833, allocations: 316.7 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.8836, allocations: 58.52 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.089e-05/0.8837, allocations: 16.92 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.8837, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.8837, allocations: 30.56 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.8837, allocations: 4 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003608/0.8841, allocations: 77.59 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.8842, allocations: 55.41 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.8843, allocations: 133.8 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.8844, allocations: 25.7 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.493e-05/0.8845, allocations: 100 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.8845, allocations: 7.906 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.368e-05/0.8846, allocations: 17.72 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.8848, allocations: 326.8 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.165e-05/0.8848, allocations: 12 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.479e-05/0.8849, allocations: 15.98 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.885, allocations: 28.84 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8851, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001989/0.8853, allocations: 69.52 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.8853, allocations: 6.5 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.8853, allocations: 8 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.8854, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.702e-05/0.8854, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.8855, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.484e-05/0.8856, allocations: 11.92 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.8856, allocations: 8 kB / 1.021 GB, free: 14.46 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.000129/0.8857, allocations: 117.8 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/0.8858, allocations: 7.906 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.968e-05/0.8858, allocations: 12.25 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.8858, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.8858, allocations: 4 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.8859, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.8861, allocations: 181.6 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.8861, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.913e-05/0.8862, allocations: 7.984 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.8862, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.8862, allocations: 4 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.8862, allocations: 3.938 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.8862, allocations: 4 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.8865, allocations: 171.6 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.078e-05/0.8866, allocations: 81.14 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.8866, allocations: 4 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.8868, allocations: 7.984 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/0.8868, allocations: 7.984 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.8869, allocations: 4 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001045/0.887, allocations: 111.2 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.7e-07/0.887, allocations: 0 / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003271/0.8873, allocations: 15.84 kB / 1.021 GB, free: 13.64 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.000191/0.8875, allocations: 103.8 kB / 1.021 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.8877, allocations: 39.91 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.8877, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.076e-05/0.8878, allocations: 16 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.8883, allocations: 4 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005318/0.8889, allocations: 180.4 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.8893, allocations: 0.6965 MB / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.159e-05/0.8894, allocations: 4 kB / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.183e-05/0.8894, allocations: 11.44 kB / 1.022 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of SimCode: time 3.136e-06/0.8894, allocations: 0 / 1.022 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of Templates: time 0.004302/0.8937, allocations: 0.7309 MB / 1.023 GB, free: 11.8 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