Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0008578/0.0008578, allocations: 99.58 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.001032/0.001032, allocations: 181.5 kB / 16.92 MB, free: 6.918 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.44/1.44, allocations: 223.3 MB / 241 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.781/2.781, allocations: 462.7 MB / 0.737 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000389/0.000389, allocations: 11.94 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3335, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.00112/0.3346, allocations: 0.539 MB / 1.06 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.3358, allocations: 0.8663 MB / 1.061 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.3359, allocations: 3.938 kB / 1.061 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.336, allocations: 7.938 kB / 1.061 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.37e-05/0.3361, allocations: 7.938 kB / 1.061 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.3363, allocations: 35.89 kB / 1.061 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.3364, allocations: 67.84 kB / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.3366, allocations: 23.91 kB / 1.061 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.3367, allocations: 31.84 kB / 1.061 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.527e-05/0.3368, allocations: 19.86 kB / 1.061 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.3368, allocations: 3.938 kB / 1.061 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.329e-05/0.3368, allocations: 4 kB / 1.061 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.414e-05/0.3368, allocations: 11.92 kB / 1.061 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.188e-05/0.3369, allocations: 45.52 kB / 1.061 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.916e-05/0.337, allocations: 60.14 kB / 1.061 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.337, allocations: 0 / 1.061 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.238e-06/0.337, allocations: 3.984 kB / 1.061 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.337, allocations: 0 / 1.061 GB, free: 3.23 MB / 0.8106 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.0005648/0.3376, allocations: 379.3 kB / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.3377, allocations: 12.03 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.99e-05/0.3377, allocations: 8.844 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.3379, allocations: 192.1 kB / 1.062 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.338, allocations: 8.375 kB / 1.062 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.338, allocations: 8.375 kB / 1.062 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.3382, allocations: 66.17 kB / 1.062 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.3382, allocations: 192 / 1.062 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.3382, allocations: 3.938 kB / 1.062 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.3382, allocations: 4 kB / 1.062 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.3384, allocations: 35.97 kB / 1.062 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005407/0.3389, allocations: 324.7 kB / 1.062 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.3391, allocations: 58.55 kB / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.011e-05/0.3392, allocations: 21 kB / 1.062 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.3392, allocations: 3.938 kB / 1.062 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.3392, allocations: 38.59 kB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.562e-06/0.3392, allocations: 3.938 kB / 1.062 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002721/0.3395, allocations: 77.58 kB / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.3396, allocations: 55.41 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.3397, allocations: 135.8 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.3397, allocations: 29.7 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.727e-05/0.3398, allocations: 100.1 kB / 1.063 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.3398, allocations: 7.906 kB / 1.063 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.3398, allocations: 13.72 kB / 1.063 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.34, allocations: 326.8 kB / 1.063 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.778e-05/0.34, allocations: 15.98 kB / 1.063 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.586e-05/0.3401, allocations: 16.19 kB / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.333e-05/0.3402, allocations: 40.86 kB / 1.063 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3402, allocations: 0 / 1.063 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001545/0.3403, allocations: 77.58 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3404, allocations: 4 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3404, allocations: 0 / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.3404, allocations: 0 / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.069e-05/0.3405, allocations: 7.984 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.3405, allocations: 0 / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.324e-05/0.3406, allocations: 15.98 kB / 1.063 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-06/0.3406, allocations: 4 kB / 1.063 GB, free: 0.9531 MB / 0.8106 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 8.585e-05/0.3407, allocations: 121.7 kB / 1.063 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.3407, allocations: 7.906 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/0.3408, allocations: 8.25 kB / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.3408, allocations: 4 kB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.3408, allocations: 0 / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3408, allocations: 0 / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.341, allocations: 185.6 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.341, allocations: 0 / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.26e-05/0.341, allocations: 11.98 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.341, allocations: 0 / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.341, allocations: 0 / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.341, allocations: 4 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.341, allocations: 0 / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.3412, allocations: 171.3 kB / 1.064 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.686e-05/0.3413, allocations: 81.02 kB / 1.064 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.3413, allocations: 0 / 1.064 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.3414, allocations: 19.98 kB / 1.064 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.3415, allocations: 11.92 kB / 1.064 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.3415, allocations: 3.984 kB / 1.064 GB, free: 244 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.194e-05/0.3416, allocations: 105.6 kB / 1.064 GB, free: 140 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3416, allocations: 0 / 1.064 GB, free: 140 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002212/0.3418, allocations: 15.88 kB / 1.064 GB, free: 124 kB / 0.8106 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.000142/0.3419, allocations: 99.25 kB / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001829/0.3421, allocations: 39.97 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3421, allocations: 0 / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.034e-05/0.3422, allocations: 16 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.3425, allocations: 23.86 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003879/0.3429, allocations: 214.2 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.3432, allocations: 0.6965 MB / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.365e-05/0.3432, allocations: 7.438 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3432, allocations: 0 / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of Templates: time 0.002557/0.3458, allocations: 0.9603 MB / 1.066 GB, free: 14 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches