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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001447/0.001447, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001426/0.001426, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.335/1.335, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.612/2.612, allocations: 482.4 MB / 0.7553 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 68.36 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7549/0.7568, allocations: 162.2 MB / 1.083 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001869/0.7587, allocations: 0.8261 MB / 1.084 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008015/0.7596, allocations: 0.872 MB / 1.085 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.898e-05/0.7596, allocations: 2.625 kB / 1.085 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.7598, allocations: 10.95 kB / 1.085 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.167e-05/0.7598, allocations: 18.36 kB / 1.085 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001358/0.7599, allocations: 30.42 kB / 1.085 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.7601, allocations: 72.62 kB / 1.085 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.7602, allocations: 29.61 kB / 1.085 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.931e-05/0.7603, allocations: 28.38 kB / 1.085 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.685e-05/0.7603, allocations: 33.55 kB / 1.085 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.7604, allocations: 5.844 kB / 1.085 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.375e-05/0.7604, allocations: 4.844 kB / 1.085 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.949e-05/0.7604, allocations: 17.16 kB / 1.085 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.357e-05/0.7604, allocations: 30.94 kB / 1.085 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.7606, allocations: 75.23 kB / 1.085 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.7606, allocations: 1.344 kB / 1.085 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7606, allocations: 0 / 1.085 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.7606, allocations: 0 / 1.085 GB, free: 0.5156 MB / 0.8262 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.0004478/0.761, allocations: 396.1 kB / 1.085 GB, free: 124 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.7611, allocations: 8.656 kB / 1.085 GB, free: 124 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.7611, allocations: 8.875 kB / 1.085 GB, free: 120 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.7613, allocations: 198.2 kB / 1.086 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.7613, allocations: 2.594 kB / 1.086 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.7614, allocations: 11.41 kB / 1.086 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.7615, allocations: 62.67 kB / 1.086 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.7616, allocations: 5.312 kB / 1.086 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.7616, allocations: 7.922 kB / 1.086 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.7616, allocations: 1.125 kB / 1.086 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.7617, allocations: 35.98 kB / 1.086 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000492/0.7622, allocations: 317.5 kB / 1.086 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.7624, allocations: 47.05 kB / 1.086 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.489e-05/0.7624, allocations: 22.77 kB / 1.086 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.7625, allocations: 1.5 kB / 1.086 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.7625, allocations: 35.58 kB / 1.086 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.7625, allocations: 1.031 kB / 1.086 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0002445/0.7627, allocations: 74.59 kB / 1.086 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.7628, allocations: 53.2 kB / 1.086 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.7629, allocations: 135.4 kB / 1.086 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.7629, allocations: 27.31 kB / 1.086 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.473e-05/0.763, allocations: 94.31 kB / 1.086 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.7631, allocations: 10.33 kB / 1.086 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.7631, allocations: 15.17 kB / 1.086 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.7633, allocations: 327.2 kB / 1.087 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.722e-05/0.7633, allocations: 14.89 kB / 1.087 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.095e-05/0.7634, allocations: 19.52 kB / 1.087 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.865e-05/0.7635, allocations: 30.17 kB / 1.087 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.7635, allocations: 4 kB / 1.087 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001405/0.7636, allocations: 66.02 kB / 1.087 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.7636, allocations: 6.594 kB / 1.087 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.7637, allocations: 4 kB / 1.087 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.7637, allocations: 1.531 kB / 1.087 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.429e-05/0.7637, allocations: 4.438 kB / 1.087 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.7638, allocations: 0 / 1.087 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.875e-05/0.7638, allocations: 15.2 kB / 1.087 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.7639, allocations: 0.7031 kB / 1.087 GB, free: 14.67 MB / 0.8419 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.0001003/0.764, allocations: 122.6 kB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.764, allocations: 7.312 kB / 1.087 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.764, allocations: 14.94 kB / 1.087 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.764, allocations: 1.516 kB / 1.087 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.764, allocations: 3.938 kB / 1.087 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.7641, allocations: 1.844 kB / 1.087 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.7643, allocations: 185.6 kB / 1.087 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.7643, allocations: 2.5 kB / 1.087 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-05/0.7643, allocations: 2.719 kB / 1.087 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.7643, allocations: 2.203 kB / 1.087 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.7643, allocations: 1.219 kB / 1.087 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.7643, allocations: 1.188 kB / 1.087 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.7643, allocations: 4 kB / 1.087 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.7645, allocations: 162.8 kB / 1.087 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.7646, allocations: 83.81 kB / 1.087 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.7646, allocations: 5.672 kB / 1.087 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.7647, allocations: 9.859 kB / 1.087 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.7648, allocations: 11.97 kB / 1.088 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.7648, allocations: 4.438 kB / 1.088 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.1e-05/0.7649, allocations: 108.8 kB / 1.088 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7649, allocations: 1.031 kB / 1.088 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002166/0.7651, allocations: 12.02 kB / 1.088 GB, free: 13.96 MB / 0.8419 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.0001258/0.7652, allocations: 101.1 kB / 1.088 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001623/0.7654, allocations: 32.75 kB / 1.088 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.7654, allocations: 0 / 1.088 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.251e-05/0.7655, allocations: 25.16 kB / 1.088 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.7657, allocations: 11 kB / 1.088 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003789/0.7661, allocations: 199.1 kB / 1.088 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.7665, allocations: 0.6943 MB / 1.089 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/0.7665, allocations: 15.41 kB / 1.089 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.7665, allocations: 0 / 1.089 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of Templates: time 0.002432/0.7689, allocations: 0.9658 MB / 1.09 GB, free: 12.9 MB / 0.8419 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=400 -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