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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 106.7 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 225.6 MB / 249.9 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.781/2.781, allocations: 476.7 MB / 0.7634 GB, free: 10.91 MB / 0.6231 GB [Timeout remaining time 87] 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=508,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=508,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 0.002031/0.002031, allocations: 67.91 kB / 1.108 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7503/0.7523, allocations: 168.7 MB / 1.272 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002138/0.7545, allocations: 0.8285 MB / 1.273 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.7556, allocations: 0.8741 MB / 1.274 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.258e-05/0.7557, allocations: 4 kB / 1.274 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.7558, allocations: 15.8 kB / 1.274 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.142e-05/0.7559, allocations: 11.94 kB / 1.274 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.7561, allocations: 27.91 kB / 1.274 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.7562, allocations: 79.77 kB / 1.274 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.7563, allocations: 15.98 kB / 1.274 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.254e-05/0.7564, allocations: 35.8 kB / 1.274 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.697e-05/0.7565, allocations: 35.83 kB / 1.274 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.7565, allocations: 4 kB / 1.274 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.483e-05/0.7565, allocations: 8 kB / 1.274 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.7566, allocations: 11.94 kB / 1.274 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.119e-05/0.7566, allocations: 35.8 kB / 1.274 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.7568, allocations: 78.34 kB / 1.274 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.7568, allocations: 0 / 1.274 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7568, allocations: 0 / 1.274 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.7568, allocations: 0 / 1.274 GB, free: 2.73 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.0006214/0.7574, allocations: 391.1 kB / 1.275 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.7574, allocations: 12.56 kB / 1.275 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.7575, allocations: 8.891 kB / 1.275 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.7578, allocations: 206.1 kB / 1.275 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.7578, allocations: 4.375 kB / 1.275 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.7578, allocations: 4.375 kB / 1.275 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.758, allocations: 66.17 kB / 1.275 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.758, allocations: 4.125 kB / 1.275 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.758, allocations: 3.938 kB / 1.275 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.758, allocations: 0 / 1.275 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.7581, allocations: 43.91 kB / 1.275 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000517/0.7586, allocations: 316.7 kB / 1.275 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.7588, allocations: 50.58 kB / 1.276 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.916e-05/0.7588, allocations: 25 kB / 1.276 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.7589, allocations: 0 / 1.276 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.7589, allocations: 34.56 kB / 1.276 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.7589, allocations: 0 / 1.276 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002558/0.7592, allocations: 77.59 kB / 1.276 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.7592, allocations: 51.41 kB / 1.276 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.7593, allocations: 139.7 kB / 1.276 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.7593, allocations: 25.7 kB / 1.276 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/0.7594, allocations: 100.1 kB / 1.276 GB, free: 1 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.7594, allocations: 3.953 kB / 1.276 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.7595, allocations: 17.72 kB / 1.276 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.7597, allocations: 326.8 kB / 1.276 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.669e-05/0.7597, allocations: 15.98 kB / 1.276 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.323e-05/0.7598, allocations: 12 kB / 1.276 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.515e-05/0.7598, allocations: 28.84 kB / 1.276 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.7598, allocations: 0 / 1.276 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001442/0.76, allocations: 73.56 kB / 1.276 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.76, allocations: 4 kB / 1.276 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.76, allocations: 0 / 1.276 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.76, allocations: 0 / 1.276 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.764e-05/0.7601, allocations: 7.984 kB / 1.276 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.7601, allocations: 0 / 1.276 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.324e-05/0.7602, allocations: 15.98 kB / 1.276 GB, free: 492 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.7602, allocations: 4 kB / 1.276 GB, free: 488 kB / 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 9.768e-05/0.7603, allocations: 119.3 kB / 1.277 GB, free: 360 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.7603, allocations: 7.953 kB / 1.277 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/0.7603, allocations: 12.25 kB / 1.277 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.7603, allocations: 0 / 1.277 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.7603, allocations: 0 / 1.277 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.7603, allocations: 0 / 1.277 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.7606, allocations: 189.4 kB / 1.277 GB, free: 92 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.7606, allocations: 0 / 1.277 GB, free: 92 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.932e-05/0.7606, allocations: 8 kB / 1.277 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.7606, allocations: 0 / 1.277 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.7606, allocations: 8 kB / 1.277 GB, free: 76 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.7606, allocations: 3.938 kB / 1.277 GB, free: 72 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.7606, allocations: 4 kB / 1.277 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.7608, allocations: 159.4 kB / 1.277 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.357e-05/0.7609, allocations: 81.06 kB / 1.277 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.7609, allocations: 3.984 kB / 1.277 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.761, allocations: 15.98 kB / 1.277 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.7611, allocations: 4 kB / 1.277 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.7611, allocations: 3.984 kB / 1.277 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.558e-05/0.7611, allocations: 105.5 kB / 1.277 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.7611, allocations: 0 / 1.277 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002203/0.7614, allocations: 15.88 kB / 1.277 GB, free: 15.65 MB / 0.9825 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.0001706/0.7615, allocations: 104.2 kB / 1.277 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001618/0.7617, allocations: 39.91 kB / 1.277 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.7617, allocations: 0 / 1.277 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.321e-05/0.7618, allocations: 16.09 kB / 1.277 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.762, allocations: 8.078 kB / 1.277 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004294/0.7624, allocations: 212 kB / 1.278 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.7628, allocations: 0.6924 MB / 1.278 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.7628, allocations: 11.44 kB / 1.278 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.7628, allocations: 3.938 kB / 1.278 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of Templates: time 0.002805/0.7656, allocations: 0.9773 MB / 1.279 GB, free: 13.54 MB / 0.9825 GB [Timeout remaining time 299] 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/jenkins1/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