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.001441/0.001441, allocations: 108 kB / 16.41 MB, free: 6.5 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.001587/0.001587, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.16 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.492/2.492, allocations: 437 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 67.91 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9148/0.9161, allocations: 151.6 MB / 1.167 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002177/0.9183, allocations: 0.8156 MB / 1.168 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.9196, allocations: 0.8881 MB / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.9197, allocations: 4 kB / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001418/0.9199, allocations: 7.875 kB / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.68e-05/0.92, allocations: 7.875 kB / 1.169 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.9202, allocations: 39.84 kB / 1.169 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.9203, allocations: 71.78 kB / 1.169 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.9205, allocations: 31.97 kB / 1.169 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.9206, allocations: 35.8 kB / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.326e-05/0.9207, allocations: 31.84 kB / 1.169 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.9207, allocations: 4 kB / 1.169 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.505e-05/0.9207, allocations: 8 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.9208, allocations: 15.92 kB / 1.169 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/0.9208, allocations: 31.8 kB / 1.169 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.921, allocations: 79.73 kB / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.921, allocations: 0 / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.523e-06/0.921, allocations: 0 / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.921, allocations: 0 / 1.169 GB, free: 1.828 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.0006038/0.9216, allocations: 388.8 kB / 1.17 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.9217, allocations: 8.625 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.803e-05/0.9217, allocations: 12.84 kB / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.922, allocations: 210.7 kB / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.148e-06/0.922, allocations: 4.375 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.9221, allocations: 4.375 kB / 1.17 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.9222, allocations: 62.23 kB / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.9223, allocations: 192 / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.9223, allocations: 3.938 kB / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.9223, allocations: 7.922 kB / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.9225, allocations: 39.91 kB / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005459/0.923, allocations: 312.8 kB / 1.17 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.9232, allocations: 50.58 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.729e-05/0.9233, allocations: 21 kB / 1.17 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.9233, allocations: 0 / 1.17 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.9233, allocations: 38.56 kB / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.9233, allocations: 0 / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0002683/0.9236, allocations: 69.58 kB / 1.171 GB, free: 468 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.9236, allocations: 59.34 kB / 1.171 GB, free: 396 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.9238, allocations: 133.7 kB / 1.171 GB, free: 252 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.9238, allocations: 25.7 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.738e-05/0.9238, allocations: 100.1 kB / 1.171 GB, free: 116 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.9239, allocations: 15.91 kB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/0.9239, allocations: 17.66 kB / 1.171 GB, free: 76 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.924, allocations: 322.8 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.418e-05/0.9241, allocations: 15.98 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.003e-05/0.9241, allocations: 12 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.041e-05/0.9242, allocations: 32.84 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.9242, allocations: 0 / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000133/0.9244, allocations: 69.58 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.9244, allocations: 8 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.9244, allocations: 3.938 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.9244, allocations: 0 / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.112e-05/0.9245, allocations: 7.984 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.9245, allocations: 0 / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.371e-05/0.9246, allocations: 11.92 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.9246, allocations: 4 kB / 1.171 GB, free: 15.58 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 9.093e-05/0.9247, allocations: 121.8 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.9247, allocations: 3.906 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.298e-05/0.9248, allocations: 12.25 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.9248, allocations: 0 / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.9248, allocations: 0 / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.9248, allocations: 3.984 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.925, allocations: 181.6 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.925, allocations: 4 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.988e-05/0.925, allocations: 3.938 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.9251, allocations: 0 / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.9251, allocations: 8 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.9251, allocations: 4 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.9251, allocations: 0 / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.9253, allocations: 167.6 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.9253, allocations: 85 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.9253, allocations: 4 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.9254, allocations: 11.98 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.9255, allocations: 11.98 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.9255, allocations: 0 / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.109e-05/0.9256, allocations: 106.2 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9256, allocations: 0 / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002231/0.9258, allocations: 11.94 kB / 1.172 GB, free: 14.75 MB / 0.9044 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.0001283/0.9259, allocations: 99.25 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001532/0.9261, allocations: 43.91 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.9261, allocations: 0 / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.997e-05/0.9262, allocations: 16 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.9264, allocations: 15.92 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/0.9268, allocations: 196.1 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.9271, allocations: 0.6945 MB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.9271, allocations: 11.44 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.9271, allocations: 0 / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of Templates: time 0.002503/0.9296, allocations: 0.9767 MB / 1.174 GB, free: 12.65 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