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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007887/0.0007887, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008905/0.0008905, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8546/0.8546, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.674/1.674, allocations: 359 MB / 0.6044 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.9518 GB, free: 2.906 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/1.885e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.902 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001256/0.001275, allocations: 0.8061 MB / 0.9526 GB, free: 2.09 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009227/0.002198, allocations: 0.9132 MB / 0.9535 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.843e-05/0.002296, allocations: 3.938 kB / 0.9535 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.002445, allocations: 11.81 kB / 0.9535 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.722e-05/0.002483, allocations: 19.86 kB / 0.9535 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.002728, allocations: 23.97 kB / 0.9535 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.00012/0.002848, allocations: 75.77 kB / 0.9536 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.002987, allocations: 23.92 kB / 0.9536 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.00315, allocations: 59.77 kB / 0.9537 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.759e-05/0.003228, allocations: 23.91 kB / 0.9537 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.003247, allocations: 4 kB / 0.9537 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.541e-05/0.003292, allocations: 8 kB / 0.9537 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.00331, allocations: 15.98 kB / 0.9537 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.437e-05/0.003335, allocations: 11.94 kB / 0.9537 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.00349, allocations: 87.72 kB / 0.9538 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.003492, allocations: 0 / 0.9538 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.42e-07/0.003493, allocations: 0 / 0.9538 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.003498, allocations: 0 / 0.9538 GB, free: 0.8008 MB / 0.9011 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.0004899/0.003987, allocations: 317.9 kB / 0.9541 GB, free: 468 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.004033, allocations: 12.03 kB / 0.9541 GB, free: 456 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.004167, allocations: 20.88 kB / 0.9542 GB, free: 436 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.004377, allocations: 143.8 kB / 0.9543 GB, free: 268 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.00439, allocations: 12.25 kB / 0.9543 GB, free: 256 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.004401, allocations: 4.375 kB / 0.9543 GB, free: 252 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.004528, allocations: 66.84 kB / 0.9544 GB, free: 180 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.004537, allocations: 192 / 0.9544 GB, free: 180 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.004547, allocations: 384 / 0.9544 GB, free: 180 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.004552, allocations: 384 / 0.9544 GB, free: 180 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.125e-05/0.004633, allocations: 47.84 kB / 0.9544 GB, free: 132 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.005012, allocations: 244.5 kB / 0.9547 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.005124, allocations: 46.59 kB / 0.9547 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.387e-05/0.005158, allocations: 28.94 kB / 0.9547 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.005177, allocations: 0 / 0.9547 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.005204, allocations: 38.55 kB / 0.9548 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.005205, allocations: 0 / 0.9548 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.0002085/0.005413, allocations: 73.62 kB / 0.9548 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.005449, allocations: 55.34 kB / 0.9549 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.005647, allocations: 133.8 kB / 0.955 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.00566, allocations: 29.7 kB / 0.955 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.421e-05/0.005714, allocations: 96.09 kB / 0.9551 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.005731, allocations: 11.89 kB / 0.9552 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.00576, allocations: 21.7 kB / 0.9552 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.359e-05/0.005843, allocations: 318.8 kB / 0.9555 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.251e-05/0.005876, allocations: 15.98 kB / 0.9555 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.605e-05/0.005902, allocations: 15.98 kB / 0.9555 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.251e-05/0.005954, allocations: 28.84 kB / 0.9555 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.005956, allocations: 0 / 0.9555 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.175e-05/0.006038, allocations: 73.56 kB / 0.9556 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.006049, allocations: 4 kB / 0.9556 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.006054, allocations: 7.938 kB / 0.9556 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.006068, allocations: 0 / 0.9556 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.008e-05/0.006118, allocations: 4 kB / 0.9556 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.006123, allocations: 0 / 0.9556 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.498e-05/0.006158, allocations: 11.98 kB / 0.9556 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.006165, allocations: 0 / 0.9556 GB, free: 14.78 MB / 0.9167 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 6.822e-05/0.006233, allocations: 113.8 kB / 0.9557 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.006248, allocations: 11.89 kB / 0.9558 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.821e-05/0.006276, allocations: 16.33 kB / 0.9558 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.006278, allocations: 11.88 kB / 0.9558 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.006283, allocations: 0 / 0.9558 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.006287, allocations: 0 / 0.9558 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.963e-05/0.006386, allocations: 125.3 kB / 0.9559 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.006387, allocations: 0 / 0.9559 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.627e-05/0.006403, allocations: 7.938 kB / 0.9559 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.51e-07/0.006404, allocations: 0 / 0.9559 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.006411, allocations: 0 / 0.9559 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.006411, allocations: 0 / 0.9559 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.006412, allocations: 0 / 0.9559 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.006515, allocations: 163.4 kB / 0.9561 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.057e-05/0.006525, allocations: 15.88 kB / 0.9561 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.006539, allocations: 0 / 0.9561 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.525e-05/0.006584, allocations: 11.98 kB / 0.9561 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.006628, allocations: 11.98 kB / 0.9561 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.00663, allocations: 0 / 0.9561 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.233e-05/0.006673, allocations: 105.6 kB / 0.9562 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006673, allocations: 0 / 0.9562 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000141/0.006814, allocations: 8 kB / 0.9562 GB, free: 14.13 MB / 0.9167 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 7.486e-05/0.006888, allocations: 99.62 kB / 0.9563 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001085/0.006997, allocations: 39.89 kB / 0.9563 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.006999, allocations: 0 / 0.9563 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.946e-05/0.007028, allocations: 19.98 kB / 0.9564 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.00721, allocations: 8 kB / 0.9564 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002825/0.007493, allocations: 190.3 kB / 0.9565 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.307e-05/0.007546, allocations: 81.56 kB / 0.9566 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.078e-05/0.007576, allocations: 8.5 kB / 0.9566 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of SimCode: time 4.11e-07/0.007577, allocations: 0 / 0.9566 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of Templates: time 0.00174/0.009317, allocations: 1.006 MB / 0.9576 GB, free: 12.63 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.28539000172168]