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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001299/0.001299, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00164/0.00164, allocations: 195.4 kB / 16.14 MB, free: 6.719 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.391/1.391, 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 11.0.1-master/package.mo): time 2.745/2.745, allocations: 461.8 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001274, allocations: 67.11 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3319, allocations: 157.4 MB / 1.052 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002186/0.3341, allocations: 0.8818 MB / 1.053 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.3352, allocations: 0.8702 MB / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.989e-05/0.3353, allocations: 4 kB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.3354, allocations: 15.86 kB / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.553e-05/0.3355, allocations: 3.938 kB / 1.054 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001521/0.3356, allocations: 23.98 kB / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.3358, allocations: 75.72 kB / 1.054 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.3359, allocations: 43.75 kB / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.576e-05/0.336, allocations: 23.92 kB / 1.054 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.374e-05/0.3361, allocations: 27.8 kB / 1.054 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.3361, allocations: 4 kB / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.414e-05/0.3362, allocations: 4 kB / 1.054 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.387e-05/0.3362, allocations: 15.91 kB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.871e-05/0.3362, allocations: 27.8 kB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.3363, allocations: 72.03 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3364, allocations: 0 / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3364, allocations: 7.938 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.3364, allocations: 0 / 1.054 GB, free: 6.715 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.0005471/0.3369, allocations: 387.2 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.337, allocations: 8.031 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.337, allocations: 8.844 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.3372, allocations: 196.2 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.3372, allocations: 384 / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.3372, allocations: 4.375 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.3374, allocations: 74.16 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.3374, allocations: 192 / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.3374, allocations: 3.938 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3375, allocations: 4 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.3376, allocations: 27.98 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.3381, allocations: 328.6 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.3382, allocations: 38.56 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.329e-05/0.3383, allocations: 21 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.3383, allocations: 0 / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.3384, allocations: 42.56 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 2.364e-06/0.3384, allocations: 96 / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002905/0.3387, allocations: 73.52 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.3387, allocations: 51.41 kB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.3388, allocations: 135.7 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3388, allocations: 25.7 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/0.3389, allocations: 108 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.3389, allocations: 7.906 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.339, allocations: 21.7 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3391, allocations: 322.8 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.892e-05/0.3392, allocations: 19.92 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.114e-05/0.3393, allocations: 15.98 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.218e-05/0.3394, allocations: 32.78 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3394, allocations: 0 / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001453/0.3395, allocations: 69.88 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.3396, allocations: 4 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.3396, allocations: 0 / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3396, allocations: 3.984 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.191e-05/0.3397, allocations: 4.047 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3397, allocations: 3.938 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.139e-05/0.3398, allocations: 15.97 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.3398, allocations: 0 / 1.056 GB, free: 4.473 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.945e-05/0.3399, allocations: 121.8 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.3399, allocations: 7.906 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.181e-05/0.34, allocations: 16.23 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.34, allocations: 7.938 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.34, allocations: 0 / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.34, allocations: 0 / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.3402, allocations: 181.6 kB / 1.056 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3402, allocations: 0 / 1.056 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.632e-05/0.3402, allocations: 4 kB / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3402, allocations: 0 / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.3403, allocations: 3.984 kB / 1.056 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3403, allocations: 4 kB / 1.056 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3403, allocations: 4 kB / 1.056 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.3405, allocations: 159.4 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.968e-05/0.3406, allocations: 77.11 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.3406, allocations: 0 / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.3407, allocations: 11.98 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.3408, allocations: 15.98 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.3408, allocations: 0 / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.424e-05/0.3409, allocations: 109.3 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3409, allocations: 0 / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002459/0.3411, allocations: 11.94 kB / 1.057 GB, free: 3.656 MB / 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.0001469/0.3413, allocations: 103.2 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001512/0.3414, allocations: 31.98 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3414, allocations: 4 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.949e-05/0.3415, allocations: 19.98 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.3418, allocations: 15.22 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004023/0.3422, allocations: 188.3 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.3426, allocations: 0.6926 MB / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.033e-05/0.3427, allocations: 4 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.3427, allocations: 15.42 kB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.3427, allocations: 0 / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of Templates: time 0.00298/0.3457, allocations: 0.7186 MB / 1.059 GB, free: 1.82 MB / 0.8106 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/jenkins/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