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.001093/0.001093, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.001121/0.001121, allocations: 165 kB / 24.17 MB, free: 328 kB / 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.048/1.048, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.98/1.98, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0 / 0.7601 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/2.025e-05, allocations: 5.125 kB / 0.7601 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.00148/0.0015, allocations: 0.8591 MB / 0.761 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009423/0.002443, allocations: 0.9335 MB / 0.7619 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.05e-05/0.002533, allocations: 4.469 kB / 0.7619 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.002657, allocations: 23.06 kB / 0.7619 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.463e-05/0.002692, allocations: 7.547 kB / 0.7619 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.002849, allocations: 29.33 kB / 0.7619 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.002961, allocations: 79.61 kB / 0.762 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.6e-05/0.003057, allocations: 25.17 kB / 0.762 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.003188, allocations: 47.83 kB / 0.7621 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.612e-05/0.003255, allocations: 20.95 kB / 0.7621 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.003273, allocations: 4 kB / 0.7621 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.73e-05/0.00333, allocations: 19.97 kB / 0.7621 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.003347, allocations: 12.5 kB / 0.7621 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.997e-05/0.003367, allocations: 15.92 kB / 0.7622 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.003474, allocations: 53.58 kB / 0.7622 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.003476, allocations: 0 / 0.7622 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.31e-07/0.003476, allocations: 0 / 0.7622 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.00348, allocations: 0 / 0.7622 GB, free: 4.422 MB / 0.7136 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.0003482/0.003828, allocations: 281.8 kB / 0.7625 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.003864, allocations: 12.03 kB / 0.7625 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.003988, allocations: 16.92 kB / 0.7625 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.004164, allocations: 148.4 kB / 0.7626 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.004174, allocations: 4.375 kB / 0.7627 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.004183, allocations: 5.125 kB / 0.7627 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.362e-05/0.004277, allocations: 62.88 kB / 0.7627 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.004284, allocations: 4.812 kB / 0.7627 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.004291, allocations: 384 / 0.7627 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.004296, allocations: 1.125 kB / 0.7627 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.555e-05/0.004322, allocations: 15.88 kB / 0.7627 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002186/0.004541, allocations: 181.2 kB / 0.7629 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.686e-05/0.004607, allocations: 39.75 kB / 0.7629 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.378e-05/0.004621, allocations: 8.938 kB / 0.763 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.004633, allocations: 0.5625 kB / 0.763 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.004655, allocations: 38.5 kB / 0.763 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.004655, allocations: 1.156 kB / 0.763 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001027/0.004758, allocations: 41.69 kB / 0.763 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.004787, allocations: 55.34 kB / 0.7631 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.198e-05/0.004859, allocations: 137.5 kB / 0.7632 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.004876, allocations: 25.7 kB / 0.7632 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.026e-05/0.004916, allocations: 97.08 kB / 0.7633 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.004931, allocations: 7.953 kB / 0.7633 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/0.004955, allocations: 17.72 kB / 0.7634 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.258e-05/0.005028, allocations: 319.8 kB / 0.7637 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.05e-05/0.005039, allocations: 4 kB / 0.7637 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.878e-06/0.005048, allocations: 8.125 kB / 0.7637 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.523e-05/0.005074, allocations: 17.95 kB / 0.7637 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.005075, allocations: 0 / 0.7637 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.848e-05/0.005123, allocations: 48.38 kB / 0.7637 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.005136, allocations: 11.94 kB / 0.7638 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.00514, allocations: 0 / 0.7638 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.005152, allocations: 0 / 0.7638 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.982e-05/0.005192, allocations: 7.984 kB / 0.7638 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.005194, allocations: 0 / 0.7638 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.467e-05/0.005219, allocations: 11.95 kB / 0.7638 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-06/0.005223, allocations: 2.625 kB / 0.7638 GB, free: 2.68 MB / 0.7136 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 5.374e-05/0.005277, allocations: 113.8 kB / 0.7639 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.005294, allocations: 7.922 kB / 0.7639 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.155e-05/0.005315, allocations: 12.34 kB / 0.7639 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.005317, allocations: 4 kB / 0.7639 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.005319, allocations: 0 / 0.7639 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.005321, allocations: 0 / 0.7639 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.324e-05/0.005404, allocations: 79.06 kB / 0.764 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.005405, allocations: 0 / 0.764 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.456e-05/0.005419, allocations: 7.984 kB / 0.764 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.00542, allocations: 2.312 kB / 0.764 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.429e-06/0.005425, allocations: 0 / 0.764 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.005426, allocations: 3.938 kB / 0.764 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.005427, allocations: 0 / 0.764 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.895e-05/0.005496, allocations: 139.5 kB / 0.7641 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.667e-06/0.005504, allocations: 7.953 kB / 0.7641 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.005519, allocations: 6.422 kB / 0.7641 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.618e-05/0.005555, allocations: 7.938 kB / 0.7641 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.005588, allocations: 7.984 kB / 0.7642 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.005593, allocations: 4 kB / 0.7642 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.092e-05/0.005613, allocations: 26.86 kB / 0.7642 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.005614, allocations: 0 / 0.7642 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001187/0.005732, allocations: 9.938 kB / 0.7642 GB, free: 2.211 MB / 0.7136 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.557e-05/0.005808, allocations: 84.34 kB / 0.7643 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.262e-05/0.00586, allocations: 16.8 kB / 0.7643 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.005865, allocations: 8 kB / 0.7643 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.646e-05/0.005881, allocations: 19.41 kB / 0.7643 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.00601, allocations: 4 kB / 0.7643 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003494/0.006359, allocations: 176.4 kB / 0.7645 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.314e-05/0.006392, allocations: 65.78 kB / 0.7646 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.616e-05/0.006419, allocations: 7.969 kB / 0.7646 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.355e-05/0.006472, allocations: 59.38 kB / 0.7646 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/0.006473, allocations: 0 / 0.7646 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of Templates: time 0.002359/0.008831, allocations: 0.9734 MB / 0.7656 GB, free: 0.7969 MB / 0.7136 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] 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","",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.214069169946015]