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.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.001624/0.001624, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001704/0.001704, allocations: 192.3 kB / 22.11 MB, free: 5.152 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.518/1.518, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.452/3.452, allocations: 495.8 MB / 0.783 GB, free: 33.47 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=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: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 70.44 kB / 1.137 GB, free: 33.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4457/0.4477, allocations: 173.6 MB / 1.307 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.004734/0.4525, allocations: 0.838 MB / 1.308 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002114/0.4546, allocations: 0.8741 MB / 1.308 GB, free: 80 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.4548, allocations: 4 kB / 1.308 GB, free: 76 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.455, allocations: 11.81 kB / 1.308 GB, free: 64 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.416e-05/0.4551, allocations: 11.86 kB / 1.308 GB, free: 52 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.4554, allocations: 19.98 kB / 1.309 GB, free: 32 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002805/0.4557, allocations: 83.77 kB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.4559, allocations: 23.97 kB / 1.309 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.4561, allocations: 39.73 kB / 1.309 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.4562, allocations: 27.86 kB / 1.309 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.4562, allocations: 4 kB / 1.309 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.821e-05/0.4562, allocations: 4 kB / 1.309 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.907e-05/0.4563, allocations: 19.92 kB / 1.309 GB, free: 15.83 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.304e-05/0.4563, allocations: 23.86 kB / 1.309 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.4565, allocations: 87.5 kB / 1.309 GB, free: 15.72 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4566, allocations: 0 / 1.309 GB, free: 15.72 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4566, allocations: 0 / 1.309 GB, free: 15.72 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.4566, allocations: 4 kB / 1.309 GB, free: 15.72 MB / 1.014 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.0007847/0.4573, allocations: 322 kB / 1.309 GB, free: 15.37 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.4574, allocations: 8.031 kB / 1.309 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.326e-05/0.4574, allocations: 8.891 kB / 1.309 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000395/0.4578, allocations: 142.3 kB / 1.309 GB, free: 15.19 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.4579, allocations: 8.375 kB / 1.309 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.4579, allocations: 8.375 kB / 1.309 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.4581, allocations: 62.17 kB / 1.309 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4581, allocations: 192 / 1.309 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.4582, allocations: 7.938 kB / 1.309 GB, free: 15.1 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4582, allocations: 0 / 1.309 GB, free: 15.1 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.4583, allocations: 31.98 kB / 1.309 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007088/0.459, allocations: 291.8 kB / 1.31 GB, free: 14.74 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.4593, allocations: 42.56 kB / 1.31 GB, free: 14.69 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.7e-05/0.4593, allocations: 21 kB / 1.31 GB, free: 14.67 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.4593, allocations: 0 / 1.31 GB, free: 14.67 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.4594, allocations: 30.56 kB / 1.31 GB, free: 14.63 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.733e-06/0.4594, allocations: 4 kB / 1.31 GB, free: 14.62 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0003761/0.4598, allocations: 73.7 kB / 1.31 GB, free: 14.55 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.4598, allocations: 55.34 kB / 1.31 GB, free: 14.48 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.46, allocations: 136.3 kB / 1.31 GB, free: 14.34 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.46, allocations: 33.7 kB / 1.31 GB, free: 14.3 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.973e-05/0.4601, allocations: 104 kB / 1.31 GB, free: 14.2 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.4601, allocations: 3.953 kB / 1.31 GB, free: 14.19 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/0.4602, allocations: 21.7 kB / 1.31 GB, free: 14.16 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.4604, allocations: 326.8 kB / 1.31 GB, free: 13.84 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.67e-05/0.4605, allocations: 15.98 kB / 1.31 GB, free: 13.82 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.942e-05/0.4605, allocations: 19.92 kB / 1.311 GB, free: 13.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.4607, allocations: 28.78 kB / 1.311 GB, free: 13.77 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4607, allocations: 0 / 1.311 GB, free: 13.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00022/0.4609, allocations: 65.64 kB / 1.311 GB, free: 13.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.4609, allocations: 4 kB / 1.311 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.4609, allocations: 7.984 kB / 1.311 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.982e-05/0.4609, allocations: 0 / 1.311 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.421e-05/0.461, allocations: 7.984 kB / 1.311 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.461, allocations: 0 / 1.311 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.4611, allocations: 11.98 kB / 1.311 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.4612, allocations: 0 / 1.311 GB, free: 13.67 MB / 1.014 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.0001255/0.4613, allocations: 121.7 kB / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.022e-05/0.4613, allocations: 7.953 kB / 1.311 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.936e-05/0.4614, allocations: 16.33 kB / 1.311 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.4614, allocations: 4.328 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.4614, allocations: 4 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4614, allocations: 0 / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.4617, allocations: 156.6 kB / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.4617, allocations: 3.984 kB / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.372e-05/0.4617, allocations: 4 kB / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.4618, allocations: 0 / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.4618, allocations: 0 / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.4618, allocations: 0 / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.4618, allocations: 7.984 kB / 1.311 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.462, allocations: 155.4 kB / 1.311 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.293e-05/0.4621, allocations: 11.94 kB / 1.311 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.052e-05/0.4621, allocations: 4 kB / 1.311 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.4622, allocations: 11.98 kB / 1.311 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/0.4623, allocations: 11.92 kB / 1.311 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.4623, allocations: 4 kB / 1.311 GB, free: 13.08 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001117/0.4624, allocations: 101.5 kB / 1.311 GB, free: 12.98 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.4624, allocations: 0 / 1.311 GB, free: 12.98 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004146/0.4628, allocations: 11.94 kB / 1.311 GB, free: 12.97 MB / 1.014 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.0001805/0.463, allocations: 108 kB / 1.311 GB, free: 12.86 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000227/0.4632, allocations: 35.98 kB / 1.311 GB, free: 12.82 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4632, allocations: 0 / 1.311 GB, free: 12.82 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.92e-05/0.4633, allocations: 23.98 kB / 1.311 GB, free: 12.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.4638, allocations: 7.938 kB / 1.311 GB, free: 12.79 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005535/0.4643, allocations: 168 kB / 1.312 GB, free: 12.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.4647, allocations: 0.6924 MB / 1.312 GB, free: 11.88 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.624e-05/0.4648, allocations: 11.69 kB / 1.312 GB, free: 11.87 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/0.4649, allocations: 15.42 kB / 1.312 GB, free: 11.86 MB / 1.014 GB Notification: Performance of SimCode: time 3.4e-07/0.4649, allocations: 0 / 1.312 GB, free: 11.86 MB / 1.014 GB Notification: Performance of Templates: time 0.005093/0.4699, allocations: 0.8667 MB / 1.313 GB, free: 11 MB / 1.014 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.621195828542113]