Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001182/0.001182, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001256/0.001256, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.054/1.054, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.551/2.551, allocations: 438.8 MB / 0.6827 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.8387 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.175e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.004849/0.004871, allocations: 0.8695 MB / 0.8395 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.00598, allocations: 0.9248 MB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.536e-05/0.006065, allocations: 3.938 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.006198, allocations: 19.8 kB / 0.8405 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.005e-05/0.006239, allocations: 11.88 kB / 0.8405 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.006406, allocations: 39.83 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.006513, allocations: 71.78 kB / 0.8406 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.707e-05/0.00661, allocations: 23.97 kB / 0.8406 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.006749, allocations: 43.89 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.299e-05/0.006812, allocations: 23.92 kB / 0.8407 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.006827, allocations: 4 kB / 0.8407 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.606e-05/0.006883, allocations: 15.97 kB / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.006899, allocations: 15.94 kB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.383e-05/0.006923, allocations: 19.92 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.007032, allocations: 51.7 kB / 0.8408 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.007034, allocations: 0 / 0.8408 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.32e-07/0.007035, allocations: 0 / 0.8408 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.003018/0.01005, allocations: 4 kB / 0.8408 GB, free: 11.98 MB / 0.8073 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.0003394/0.01039, allocations: 284.6 kB / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.01043, allocations: 8.031 kB / 0.8411 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.01054, allocations: 16.92 kB / 0.8411 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.0107, allocations: 139.8 kB / 0.8412 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.01071, allocations: 8.375 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.146e-06/0.01072, allocations: 384 / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.01082, allocations: 66.88 kB / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.01083, allocations: 192 / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.01084, allocations: 384 / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.01085, allocations: 4.375 kB / 0.8413 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.844e-05/0.01087, allocations: 11.92 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002689/0.01114, allocations: 192.1 kB / 0.8415 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.927e-05/0.01121, allocations: 38.55 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.584e-05/0.01123, allocations: 8.859 kB / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.01124, allocations: 0 / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.01126, allocations: 38.5 kB / 0.8416 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.01126, allocations: 3.938 kB / 0.8416 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001131/0.01138, allocations: 45.81 kB / 0.8416 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.01141, allocations: 55.41 kB / 0.8417 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.462e-05/0.01148, allocations: 126.7 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.0115, allocations: 29.7 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.01154, allocations: 108 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.01156, allocations: 3.953 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.01159, allocations: 13.72 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.44e-05/0.01167, allocations: 322.8 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.207e-05/0.01168, allocations: 4 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.639e-06/0.01169, allocations: 0 / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.362e-05/0.01173, allocations: 24.77 kB / 0.8423 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.01173, allocations: 0 / 0.8423 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.18e-05/0.01179, allocations: 45.69 kB / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.0118, allocations: 7.938 kB / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.01181, allocations: 0 / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.01182, allocations: 4 kB / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.417e-05/0.01186, allocations: 7.984 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.01186, allocations: 0 / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.029e-05/0.01189, allocations: 4 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.0119, allocations: 8 kB / 0.8423 GB, free: 10.22 MB / 0.8073 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.153e-05/0.01196, allocations: 105.8 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.01199, allocations: 11.92 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.227e-05/0.01201, allocations: 12.28 kB / 0.8425 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.01201, allocations: 4 kB / 0.8425 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.01201, allocations: 4 kB / 0.8425 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.01202, allocations: 0 / 0.8425 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.01213, allocations: 77.83 kB / 0.8425 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01213, allocations: 4 kB / 0.8425 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.892e-05/0.01215, allocations: 3.984 kB / 0.8425 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.01215, allocations: 0 / 0.8425 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.01216, allocations: 8 kB / 0.8426 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.01216, allocations: 3.938 kB / 0.8426 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.01216, allocations: 3.984 kB / 0.8426 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.252e-05/0.01225, allocations: 131.9 kB / 0.8427 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.006e-05/0.01226, allocations: 7.969 kB / 0.8427 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.01227, allocations: 15.92 kB / 0.8427 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.759e-05/0.01233, allocations: 7.938 kB / 0.8427 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.01237, allocations: 7.984 kB / 0.8427 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.01237, allocations: 3.938 kB / 0.8427 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.664e-05/0.0124, allocations: 30.86 kB / 0.8428 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.0124, allocations: 0 / 0.8428 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001838/0.01258, allocations: 7.953 kB / 0.8428 GB, free: 9.73 MB / 0.8073 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.752e-05/0.01266, allocations: 84.41 kB / 0.8428 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.074e-05/0.01272, allocations: 16.86 kB / 0.8429 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.01272, allocations: 4 kB / 0.8429 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.119e-05/0.01274, allocations: 12.84 kB / 0.8429 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003179/0.01592, allocations: 12 kB / 0.8429 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.01635, allocations: 172.1 kB / 0.8431 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.039e-05/0.01639, allocations: 59.34 kB / 0.8431 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.304e-05/0.01642, allocations: 11.98 kB / 0.8431 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.301e-05/0.01648, allocations: 55.38 kB / 0.8432 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of SimCode: time 5.71e-07/0.01648, allocations: 0 / 0.8432 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of Templates: time 0.00588/0.02237, allocations: 0.9923 MB / 0.8441 GB, free: 8.273 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.433027829043567]