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.001797/0.001797, allocations: 112.6 kB / 16.42 MB, free: 6.492 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.002262/0.002262, allocations: 183.9 kB / 17.34 MB, free: 5.746 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.633/1.633, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.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.517/2.517, allocations: 437 MB / 0.7112 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 67.89 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144/1.146, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.003125/1.149, allocations: 0.8212 MB / 1.168 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001776/1.151, allocations: 0.8687 MB / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/1.151, allocations: 7.938 kB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001774/1.151, allocations: 11.88 kB / 1.169 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.025e-05/1.151, allocations: 11.88 kB / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/1.152, allocations: 31.97 kB / 1.169 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000175/1.152, allocations: 71.72 kB / 1.169 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/1.152, allocations: 35.97 kB / 1.169 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/1.152, allocations: 31.86 kB / 1.169 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/1.152, allocations: 31.84 kB / 1.169 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/1.152, allocations: 4 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.615e-05/1.152, allocations: 8 kB / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.646e-05/1.152, allocations: 19.84 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.052e-05/1.152, allocations: 31.81 kB / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000157/1.152, allocations: 72.23 kB / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.152, allocations: 4 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.333e-06/1.152, allocations: 0 / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.624e-06/1.152, allocations: 0 / 1.169 GB, free: 1.773 MB / 0.8887 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.0006948/1.153, allocations: 395.1 kB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/1.153, allocations: 8.031 kB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/1.153, allocations: 8.891 kB / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/1.154, allocations: 196.2 kB / 1.17 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/1.154, allocations: 8.375 kB / 1.17 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/1.154, allocations: 8.312 kB / 1.17 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/1.154, allocations: 70.16 kB / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/1.154, allocations: 192 / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/1.154, allocations: 11.88 kB / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/1.154, allocations: 0 / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/1.154, allocations: 31.98 kB / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000617/1.155, allocations: 316.7 kB / 1.17 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/1.155, allocations: 50.56 kB / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.978e-05/1.155, allocations: 21 kB / 1.17 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/1.155, allocations: 4.031 kB / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/1.155, allocations: 30.56 kB / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 2.134e-06/1.155, allocations: 0 / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0003161/1.155, allocations: 77.81 kB / 1.171 GB, free: 400 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/1.155, allocations: 51.41 kB / 1.171 GB, free: 336 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/1.156, allocations: 129.8 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/1.156, allocations: 29.7 kB / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.903e-05/1.156, allocations: 104.1 kB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/1.156, allocations: 7.953 kB / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.929e-05/1.156, allocations: 21.7 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002351/1.156, allocations: 318.8 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.152e-05/1.156, allocations: 19.98 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.231e-05/1.156, allocations: 23.91 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/1.156, allocations: 32.84 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.156, allocations: 0 / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002079/1.157, allocations: 61.64 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/1.157, allocations: 10.5 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/1.157, allocations: 0 / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/1.157, allocations: 0 / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.553e-05/1.157, allocations: 11.98 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/1.157, allocations: 0 / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/1.157, allocations: 7.984 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/1.157, allocations: 4 kB / 1.171 GB, free: 15.52 MB / 0.9044 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.0001211/1.157, allocations: 121.7 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/1.157, allocations: 3.953 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.982e-05/1.157, allocations: 12.25 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/1.157, allocations: 7.984 kB / 1.172 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.157, allocations: 3.938 kB / 1.172 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.366e-05/1.157, allocations: 85.06 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/1.157, allocations: 7.938 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/1.157, allocations: 11.92 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.432e-05/1.157, allocations: 7.984 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002505/1.158, allocations: 144.9 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002659/1.158, allocations: 238.7 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.226e-05/1.158, allocations: 15.98 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.61e-05/1.158, allocations: 107.2 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of Backend: time 3.3e-07/1.158, allocations: 0 / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000473/1.159, allocations: 98.33 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007421/1.159, allocations: 0.6126 MB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of Templates: time 0.003974/1.163, allocations: 0.9486 MB / 1.174 GB, free: 13 MB / 0.9044 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