Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001671/0.001671, allocations: 113.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.002202/0.002202, allocations: 214 kB / 22.25 MB, free: 5.082 MB / 14.72 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 1.545/1.545, allocations: 230.6 MB / 256 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.296/3.296, allocations: 0.49 GB / 0.7951 GB, free: 33.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 71.12 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4488/0.4509, allocations: 176.1 MB / 1.326 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002778/0.4537, allocations: 0.8283 MB / 1.327 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001699/0.4554, allocations: 0.9288 MB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.4556, allocations: 7.938 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.4557, allocations: 11.88 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.357e-05/0.4558, allocations: 11.86 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.456, allocations: 23.92 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.4562, allocations: 83.75 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.4564, allocations: 19.98 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.4565, allocations: 39.86 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.4566, allocations: 27.84 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.4567, allocations: 8 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.576e-05/0.4567, allocations: 8 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.4567, allocations: 15.92 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.673e-05/0.4568, allocations: 31.81 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.457, allocations: 87.55 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.457, allocations: 0 / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.533e-06/0.457, allocations: 0 / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.457, allocations: 0 / 1.328 GB, free: 15.3 MB / 1.029 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.0006659/0.4577, allocations: 314 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.4577, allocations: 8.031 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/0.4579, allocations: 20.83 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.4583, allocations: 150.3 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.4583, allocations: 4.375 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.4583, allocations: 4.375 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.4585, allocations: 70.17 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.4585, allocations: 192 / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.4585, allocations: 3.938 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.4585, allocations: 0 / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.4586, allocations: 35.92 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005267/0.4591, allocations: 291.8 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.4593, allocations: 50.59 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.84e-05/0.4593, allocations: 21 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.4594, allocations: 0 / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.4594, allocations: 30.56 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 7.12e-07/0.4594, allocations: 0 / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002606/0.4596, allocations: 77.62 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.4597, allocations: 59.34 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.4598, allocations: 131.7 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.4599, allocations: 25.7 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.916e-05/0.4599, allocations: 100.1 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.46, allocations: 7.953 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.46, allocations: 21.7 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.4602, allocations: 318.8 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.434e-05/0.4602, allocations: 19.98 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.315e-05/0.4603, allocations: 15.98 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.477e-05/0.4603, allocations: 33.06 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.4603, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001457/0.4605, allocations: 65.62 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.4605, allocations: 11.94 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.4605, allocations: 0 / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.4605, allocations: 3.984 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.606e-05/0.4606, allocations: 12 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.4606, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.589e-05/0.4607, allocations: 7.984 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.4607, allocations: 4 kB / 1.33 GB, free: 13.23 MB / 1.029 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.0001019/0.4608, allocations: 122.3 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.4608, allocations: 3.953 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.233e-05/0.4609, allocations: 16.33 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4609, allocations: 4 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.4609, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.4609, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.4611, allocations: 160.6 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.4611, allocations: 0 / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.555e-05/0.4611, allocations: 0 / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.4611, allocations: 4 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.4611, allocations: 0 / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.4612, allocations: 3.984 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.4612, allocations: 4 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.4614, allocations: 167.4 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.4614, allocations: 11.89 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.4614, allocations: 0 / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.855e-05/0.4615, allocations: 7.984 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.4616, allocations: 11.98 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.4616, allocations: 0 / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001028/0.4617, allocations: 104.8 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4617, allocations: 4 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002333/0.4619, allocations: 11.94 kB / 1.331 GB, free: 12.53 MB / 1.029 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.000157/0.462, allocations: 99.23 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001729/0.4622, allocations: 35.92 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4622, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.706e-05/0.4623, allocations: 15.98 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.4626, allocations: 17.48 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004649/0.463, allocations: 166.7 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.4634, allocations: 0.6885 MB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.139e-05/0.4634, allocations: 4.281 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.563e-05/0.4635, allocations: 15.42 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.4635, allocations: 4 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of Templates: time 0.003976/0.4675, allocations: 0.8768 MB / 1.333 GB, free: 10.56 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.394693098962307]