Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001272/0.001272, allocations: 116.5 kB / 17.08 MB, free: 5.934 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.001268/0.001268, allocations: 194.2 kB / 20.03 MB, free: 3.016 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.438/1.438, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.695/2.695, allocations: 437.1 MB / 0.7177 GB, free: 4.543 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001957, allocations: 72.12 kB / 1.028 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.344, allocations: 151.6 MB / 1.176 GB, free: 5.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002066/0.3461, allocations: 0.8203 MB / 1.177 GB, free: 5.047 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.3473, allocations: 0.8741 MB / 1.178 GB, free: 4.16 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.595e-05/0.3474, allocations: 7.938 kB / 1.178 GB, free: 4.152 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.3476, allocations: 15.88 kB / 1.178 GB, free: 4.137 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.823e-05/0.3476, allocations: 11.86 kB / 1.178 GB, free: 4.125 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.3478, allocations: 27.95 kB / 1.178 GB, free: 4.098 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00014/0.3479, allocations: 75.72 kB / 1.178 GB, free: 4.023 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.3481, allocations: 31.98 kB / 1.178 GB, free: 3.992 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.726e-05/0.3482, allocations: 31.86 kB / 1.178 GB, free: 3.961 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.843e-05/0.3483, allocations: 23.84 kB / 1.178 GB, free: 3.938 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.3483, allocations: 8 kB / 1.178 GB, free: 3.93 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.564e-05/0.3483, allocations: 4 kB / 1.178 GB, free: 3.926 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.077e-05/0.3484, allocations: 19.92 kB / 1.178 GB, free: 3.906 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.432e-05/0.3484, allocations: 27.75 kB / 1.178 GB, free: 3.879 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.3486, allocations: 83.61 kB / 1.178 GB, free: 3.797 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3486, allocations: 4 kB / 1.178 GB, free: 3.793 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3486, allocations: 0 / 1.178 GB, free: 3.793 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.3486, allocations: 0 / 1.178 GB, free: 3.793 MB / 0.92 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.0006735/0.3493, allocations: 391.1 kB / 1.178 GB, free: 3.359 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.3493, allocations: 12.03 kB / 1.178 GB, free: 3.348 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.3494, allocations: 8.891 kB / 1.178 GB, free: 3.34 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.3497, allocations: 200.2 kB / 1.179 GB, free: 3.105 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.724e-06/0.3498, allocations: 4.375 kB / 1.179 GB, free: 3.102 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.3498, allocations: 8.375 kB / 1.179 GB, free: 3.094 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.35, allocations: 62.17 kB / 1.179 GB, free: 3.027 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.35, allocations: 192 / 1.179 GB, free: 3.027 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.35, allocations: 7.938 kB / 1.179 GB, free: 3.02 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.35, allocations: 7.938 kB / 1.179 GB, free: 3.012 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.3501, allocations: 27.98 kB / 1.179 GB, free: 2.984 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005354/0.3507, allocations: 324.7 kB / 1.179 GB, free: 2.617 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.3508, allocations: 42.56 kB / 1.179 GB, free: 2.566 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.723e-05/0.3509, allocations: 21 kB / 1.179 GB, free: 2.543 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.3509, allocations: 0 / 1.179 GB, free: 2.543 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.351, allocations: 42.59 kB / 1.179 GB, free: 2.492 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.351, allocations: 3.938 kB / 1.179 GB, free: 2.488 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0002765/0.3513, allocations: 69.62 kB / 1.179 GB, free: 2.414 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.61e-05/0.3513, allocations: 55.39 kB / 1.179 GB, free: 2.348 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.3515, allocations: 135.5 kB / 1.179 GB, free: 2.207 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.3515, allocations: 29.7 kB / 1.179 GB, free: 2.172 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.364e-05/0.3516, allocations: 100 kB / 1.179 GB, free: 2.07 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.3516, allocations: 3.953 kB / 1.179 GB, free: 2.066 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/0.3517, allocations: 25.7 kB / 1.179 GB, free: 2.035 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3519, allocations: 322.8 kB / 1.18 GB, free: 1.711 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.535e-05/0.3519, allocations: 12 kB / 1.18 GB, free: 1.699 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.044e-05/0.352, allocations: 19.98 kB / 1.18 GB, free: 1.68 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.598e-05/0.3521, allocations: 28.78 kB / 1.18 GB, free: 1.648 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3521, allocations: 0 / 1.18 GB, free: 1.648 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001546/0.3522, allocations: 73.62 kB / 1.18 GB, free: 1.57 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3523, allocations: 4 kB / 1.18 GB, free: 1.566 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3523, allocations: 0 / 1.18 GB, free: 1.566 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3523, allocations: 0 / 1.18 GB, free: 1.566 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.037e-05/0.3524, allocations: 4 kB / 1.18 GB, free: 1.562 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.3524, allocations: 3.984 kB / 1.18 GB, free: 1.559 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.389e-05/0.3525, allocations: 12.31 kB / 1.18 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.3525, allocations: 0 / 1.18 GB, free: 1.547 MB / 0.92 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.000108/0.3526, allocations: 125.7 kB / 1.18 GB, free: 1.414 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.3526, allocations: 7.953 kB / 1.18 GB, free: 1.406 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.764e-05/0.3527, allocations: 16.22 kB / 1.18 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3527, allocations: 4 kB / 1.18 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3527, allocations: 0 / 1.18 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.3527, allocations: 0 / 1.18 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.3529, allocations: 181.6 kB / 1.18 GB, free: 1.152 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3529, allocations: 0 / 1.18 GB, free: 1.152 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.004e-05/0.353, allocations: 11.94 kB / 1.18 GB, free: 1.141 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.353, allocations: 3.984 kB / 1.18 GB, free: 1.137 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-06/0.353, allocations: 0 / 1.18 GB, free: 1.137 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.353, allocations: 4 kB / 1.18 GB, free: 1.133 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.353, allocations: 0 / 1.18 GB, free: 1.133 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.3532, allocations: 163.4 kB / 1.18 GB, free: 0.957 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.686e-05/0.3533, allocations: 81.06 kB / 1.18 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.3533, allocations: 4 kB / 1.18 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.3534, allocations: 11.98 kB / 1.18 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.3535, allocations: 15.92 kB / 1.18 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.3535, allocations: 0 / 1.18 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.447e-05/0.3536, allocations: 101.5 kB / 1.181 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3536, allocations: 4 kB / 1.181 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000216/0.3538, allocations: 11.88 kB / 1.181 GB, free: 0.7148 MB / 0.92 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.0001882/0.354, allocations: 111.2 kB / 1.181 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001809/0.3542, allocations: 27.98 kB / 1.181 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.3542, allocations: 8 kB / 1.181 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.853e-05/0.3543, allocations: 15.98 kB / 1.181 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.3545, allocations: 7.938 kB / 1.181 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004168/0.355, allocations: 204 kB / 1.181 GB, free: 316 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.3554, allocations: 0.6885 MB / 1.182 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.3554, allocations: 15.44 kB / 1.182 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of SimCode: time 4.91e-07/0.3554, allocations: 0 / 1.182 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of Templates: time 0.002855/0.3583, allocations: 0.9777 MB / 1.183 GB, free: 14.6 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.14361047197599]