Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002103/0.002103, allocations: 113.2 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.716/2.716, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 72.08 kB / 1.104 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8609/0.8628, allocations: 168.7 MB / 1.269 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002581/0.8654, allocations: 0.8169 MB / 1.27 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.8668, allocations: 0.8779 MB / 1.27 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.867, allocations: 7.938 kB / 1.27 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.8671, allocations: 11.88 kB / 1.27 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.948e-05/0.8671, allocations: 15.86 kB / 1.27 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.8673, allocations: 19.97 kB / 1.271 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.8675, allocations: 79.72 kB / 1.271 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.8676, allocations: 19.98 kB / 1.271 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.8678, allocations: 35.84 kB / 1.271 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.8679, allocations: 27.84 kB / 1.271 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.8679, allocations: 8 kB / 1.271 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.539e-05/0.8679, allocations: 8 kB / 1.271 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.026e-05/0.8679, allocations: 15.92 kB / 1.271 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.175e-05/0.868, allocations: 27.81 kB / 1.271 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.8682, allocations: 85.44 kB / 1.271 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.8682, allocations: 0 / 1.271 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8682, allocations: 0 / 1.271 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.8682, allocations: 0 / 1.271 GB, free: 3.125 MB / 0.9669 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.0007284/0.8689, allocations: 391 kB / 1.271 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.869, allocations: 12.03 kB / 1.271 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.383e-05/0.869, allocations: 38.75 kB / 1.271 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.869, allocations: 8.891 kB / 1.271 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.8694, allocations: 204.2 kB / 1.271 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.8694, allocations: 8.375 kB / 1.271 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.8694, allocations: 8.312 kB / 1.271 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.8696, allocations: 62.17 kB / 1.272 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.8696, allocations: 7.875 kB / 1.272 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.8696, allocations: 4 kB / 1.272 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.8696, allocations: 7.984 kB / 1.272 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.8698, allocations: 31.98 kB / 1.272 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005822/0.8703, allocations: 316.7 kB / 1.272 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.8705, allocations: 50.62 kB / 1.272 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.652e-05/0.8706, allocations: 16.94 kB / 1.272 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.8706, allocations: 96 / 1.272 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.8706, allocations: 38.5 kB / 1.272 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.8706, allocations: 0 / 1.272 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002849/0.8709, allocations: 65.67 kB / 1.272 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.871, allocations: 55.39 kB / 1.272 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.8711, allocations: 144.1 kB / 1.272 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.8711, allocations: 29.7 kB / 1.272 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.564e-05/0.8712, allocations: 92.14 kB / 1.272 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.8712, allocations: 3.953 kB / 1.272 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.674e-05/0.8713, allocations: 21.7 kB / 1.272 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.8714, allocations: 322.8 kB / 1.273 GB, free: 1 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.377e-05/0.8715, allocations: 12 kB / 1.273 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.607e-05/0.8716, allocations: 27.92 kB / 1.273 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.826e-05/0.8716, allocations: 24.84 kB / 1.273 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.8716, allocations: 0 / 1.273 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001444/0.8718, allocations: 69.62 kB / 1.273 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.8718, allocations: 4 kB / 1.273 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.8718, allocations: 0 / 1.273 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.8718, allocations: 4 kB / 1.273 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.148e-05/0.8719, allocations: 0 / 1.273 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.8719, allocations: 4 kB / 1.273 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.392e-05/0.872, allocations: 15.92 kB / 1.273 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.872, allocations: 3.938 kB / 1.273 GB, free: 0.8281 MB / 0.9669 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.0001214/0.8721, allocations: 117.8 kB / 1.273 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.8721, allocations: 7.953 kB / 1.273 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.186e-05/0.8722, allocations: 16.23 kB / 1.273 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.8722, allocations: 0 / 1.273 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.8722, allocations: 3.938 kB / 1.273 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.8722, allocations: 0 / 1.273 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.8724, allocations: 189.6 kB / 1.273 GB, free: 444 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.8724, allocations: 0 / 1.273 GB, free: 444 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.8725, allocations: 4 kB / 1.273 GB, free: 440 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.8725, allocations: 3.984 kB / 1.273 GB, free: 436 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.8725, allocations: 0 / 1.273 GB, free: 436 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.8725, allocations: 7.938 kB / 1.273 GB, free: 428 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8725, allocations: 0 / 1.273 GB, free: 428 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.8727, allocations: 159.8 kB / 1.273 GB, free: 252 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.31e-05/0.8727, allocations: 89.09 kB / 1.273 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.8728, allocations: 7.938 kB / 1.273 GB, free: 136 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.8729, allocations: 11.98 kB / 1.273 GB, free: 124 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.8729, allocations: 7.984 kB / 1.273 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.8729, allocations: 0 / 1.273 GB, free: 116 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.022e-05/0.873, allocations: 107.2 kB / 1.274 GB, free: 8 kB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.873, allocations: 0 / 1.274 GB, free: 8 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002255/0.8732, allocations: 8 kB / 1.274 GB, free: 0 / 0.9669 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.00064/0.8739, allocations: 0.6974 MB / 1.274 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001608/0.874, allocations: 35.92 kB / 1.274 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.874, allocations: 0 / 1.274 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.681e-05/0.8741, allocations: 15.98 kB / 1.274 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.8744, allocations: 8 kB / 1.274 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.8761, allocations: 1.401 MB / 1.276 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.8765, allocations: 0.6885 MB / 1.276 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.207e-05/0.8766, allocations: 7.984 kB / 1.276 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.035e-05/0.8766, allocations: 27.44 kB / 1.276 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.8766, allocations: 0 / 1.276 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03015/0.9068, allocations: 2.007 MB / 1.278 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.116/9.023, allocations: 17.19 kB / 1.278 GB, free: 11.09 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.013086420949548]