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.001241/0.001241, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.00121/0.00121, allocations: 187 kB / 17.34 MB, free: 5.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.238/1.238, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.399/2.399, allocations: 469.4 MB / 0.7428 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 68.11 kB / 1.066 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7671/0.7683, allocations: 159.1 MB / 1.221 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001986/0.7703, allocations: 0.8152 MB / 1.222 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.7714, allocations: 0.8741 MB / 1.223 GB, free: 0.6562 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.7716, allocations: 7.938 kB / 1.223 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.7717, allocations: 7.875 kB / 1.223 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.419e-05/0.7718, allocations: 11.88 kB / 1.223 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.7719, allocations: 31.89 kB / 1.223 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.7721, allocations: 75.78 kB / 1.223 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.7722, allocations: 23.98 kB / 1.223 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.223e-05/0.7723, allocations: 39.84 kB / 1.223 GB, free: 472 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.552e-05/0.7724, allocations: 31.84 kB / 1.223 GB, free: 440 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.7724, allocations: 4 kB / 1.223 GB, free: 436 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.417e-05/0.7724, allocations: 8 kB / 1.223 GB, free: 428 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.296e-05/0.7724, allocations: 11.92 kB / 1.223 GB, free: 416 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.952e-05/0.7725, allocations: 31.81 kB / 1.223 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.7726, allocations: 75.67 kB / 1.223 GB, free: 308 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.7726, allocations: 4 kB / 1.223 GB, free: 304 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7726, allocations: 0 / 1.223 GB, free: 304 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.7726, allocations: 0 / 1.223 GB, free: 304 kB / 0.9356 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.0005346/0.7732, allocations: 392.8 kB / 1.223 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.7732, allocations: 8.031 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/0.7733, allocations: 8.844 kB / 1.223 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.7735, allocations: 205.8 kB / 1.224 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.7735, allocations: 8.375 kB / 1.224 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.7736, allocations: 4.375 kB / 1.224 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.7737, allocations: 78.09 kB / 1.224 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.7737, allocations: 192 / 1.224 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.7738, allocations: 3.938 kB / 1.224 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.7738, allocations: 0 / 1.224 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.7739, allocations: 31.98 kB / 1.224 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/0.7744, allocations: 320.6 kB / 1.224 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.7745, allocations: 50.56 kB / 1.224 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.134e-05/0.7746, allocations: 21 kB / 1.224 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.7746, allocations: 0 / 1.224 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.7746, allocations: 34.59 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.7747, allocations: 0 / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0002519/0.7749, allocations: 77.58 kB / 1.224 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.7749, allocations: 55.41 kB / 1.224 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.7751, allocations: 129.8 kB / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.7751, allocations: 25.7 kB / 1.224 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.383e-05/0.7751, allocations: 100 kB / 1.224 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.7752, allocations: 4 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.7752, allocations: 21.7 kB / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.7753, allocations: 322.8 kB / 1.225 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.302e-05/0.7754, allocations: 15.98 kB / 1.225 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.217e-05/0.7754, allocations: 15.98 kB / 1.225 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.194e-05/0.7755, allocations: 32.78 kB / 1.225 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.7755, allocations: 0 / 1.225 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001304/0.7757, allocations: 61.88 kB / 1.225 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.7757, allocations: 10.03 kB / 1.225 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.7757, allocations: 48 / 1.225 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.7757, allocations: 7.984 kB / 1.225 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.394e-05/0.7758, allocations: 7.984 kB / 1.225 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.7758, allocations: 0 / 1.225 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.206e-05/0.7759, allocations: 11.92 kB / 1.225 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.7759, allocations: 8 kB / 1.225 GB, free: 14.05 MB / 0.9512 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.695e-05/0.776, allocations: 118.3 kB / 1.225 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.776, allocations: 7.844 kB / 1.225 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.596e-05/0.776, allocations: 12.19 kB / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.7761, allocations: 7.984 kB / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.7761, allocations: 0 / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.7761, allocations: 0 / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.7762, allocations: 181.6 kB / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7763, allocations: 4 kB / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.773e-05/0.7763, allocations: 0 / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.7763, allocations: 0 / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.7763, allocations: 11.94 kB / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.7763, allocations: 0 / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.7763, allocations: 3.984 kB / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.7765, allocations: 159.4 kB / 1.225 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-05/0.7765, allocations: 85 kB / 1.225 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.7766, allocations: 4 kB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.7767, allocations: 11.98 kB / 1.226 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.7767, allocations: 7.984 kB / 1.226 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.7767, allocations: 3.938 kB / 1.226 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.658e-05/0.7768, allocations: 103.3 kB / 1.226 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7768, allocations: 4 kB / 1.226 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002299/0.777, allocations: 15.94 kB / 1.226 GB, free: 13.22 MB / 0.9512 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.0001098/0.7772, allocations: 99.25 kB / 1.226 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001431/0.7773, allocations: 35.97 kB / 1.226 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.7773, allocations: 0 / 1.226 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.829e-05/0.7774, allocations: 15.98 kB / 1.226 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.7776, allocations: 14.34 kB / 1.226 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003454/0.778, allocations: 208.1 kB / 1.226 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.7782, allocations: 0.6908 MB / 1.227 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.7783, allocations: 11.44 kB / 1.227 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of SimCode: time 3.31e-07/0.7783, allocations: 0 / 1.227 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of Templates: time 0.002138/0.7804, allocations: 0.9766 MB / 1.228 GB, free: 11.12 MB / 0.9512 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