Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.001148/0.001148, allocations: 80.8 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.001419/0.001419, allocations: 161 kB / 24.16 MB, free: 332 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.096/1.096, 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.998/1.998, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 177] 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.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 0.7601 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.496e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001949/0.001974, allocations: 0.7639 MB / 0.7608 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.00313, allocations: 0.8812 MB / 0.7617 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.567e-05/0.003176, allocations: 4 kB / 0.7617 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.231e-05/0.003208, allocations: 3.938 kB / 0.7617 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.756e-05/0.003296, allocations: 6.672 kB / 0.7617 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.003444, allocations: 19.92 kB / 0.7617 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.586e-05/0.00354, allocations: 54.23 kB / 0.7618 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.768e-05/0.003627, allocations: 11.98 kB / 0.7618 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.003727, allocations: 23.38 kB / 0.7618 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.511e-05/0.003793, allocations: 21.28 kB / 0.7618 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.003815, allocations: 4.984 kB / 0.7618 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.146e-05/0.003826, allocations: 8.562 kB / 0.7618 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.184e-05/0.003848, allocations: 10.02 kB / 0.7618 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.003875, allocations: 18.06 kB / 0.7618 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.934e-05/0.003975, allocations: 30.23 kB / 0.7619 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.003977, allocations: 0.875 kB / 0.7619 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.042e-06/0.003978, allocations: 1.031 kB / 0.7619 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.003986, allocations: 0 / 0.7619 GB, free: 4.773 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003667/0.004353, allocations: 253.9 kB / 0.7621 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.004391, allocations: 8.031 kB / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.004423, allocations: 8.922 kB / 0.7621 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.688e-05/0.004519, allocations: 110.3 kB / 0.7622 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.004539, allocations: 6.156 kB / 0.7622 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-06/0.004549, allocations: 5.031 kB / 0.7623 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.004685, allocations: 70.86 kB / 0.7623 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.004695, allocations: 3.938 kB / 0.7623 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.004705, allocations: 5.203 kB / 0.7623 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.004712, allocations: 0 / 0.7623 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.731e-05/0.004749, allocations: 11.98 kB / 0.7623 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002878/0.005037, allocations: 162.1 kB / 0.7625 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.535e-05/0.005122, allocations: 43.19 kB / 0.7625 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.448e-05/0.005147, allocations: 13.59 kB / 0.7625 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.00516, allocations: 3.938 kB / 0.7626 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.005189, allocations: 40.16 kB / 0.7626 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.00519, allocations: 0 / 0.7626 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001389/0.005329, allocations: 45.69 kB / 0.7626 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.00536, allocations: 55.34 kB / 0.7627 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.669e-05/0.005427, allocations: 111.3 kB / 0.7628 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.005439, allocations: 25.7 kB / 0.7628 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.994e-05/0.005479, allocations: 101 kB / 0.7629 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.005499, allocations: 11.94 kB / 0.7629 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.005534, allocations: 18.86 kB / 0.7629 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.605e-05/0.00562, allocations: 318.8 kB / 0.7632 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.521e-05/0.005635, allocations: 0 / 0.7632 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.579e-05/0.005651, allocations: 5.594 kB / 0.7633 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.211e-05/0.005693, allocations: 24.83 kB / 0.7633 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.005695, allocations: 0 / 0.7633 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.059e-05/0.005766, allocations: 45.62 kB / 0.7633 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.005778, allocations: 10.69 kB / 0.7633 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.005782, allocations: 0 / 0.7633 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.005796, allocations: 0 / 0.7633 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.258e-05/0.005879, allocations: 15.98 kB / 0.7633 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.005883, allocations: 0 / 0.7633 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.962e-05/0.005923, allocations: 11.98 kB / 0.7634 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.005928, allocations: 0 / 0.7634 GB, free: 3.117 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: 2 (reaToInt.y,intGreEquThr.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.012e-05/0.005988, allocations: 111.9 kB / 0.7635 GB, free: 3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.18e-05/0.00601, allocations: 3.938 kB / 0.7635 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.006035, allocations: 12 kB / 0.7635 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.006037, allocations: 0 / 0.7635 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.006039, allocations: 0 / 0.7635 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.006044, allocations: 4.922 kB / 0.7635 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.006163, allocations: 69.86 kB / 0.7636 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.006166, allocations: 4.328 kB / 0.7636 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.452e-05/0.006211, allocations: 8.703 kB / 0.7636 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.006212, allocations: 2.406 kB / 0.7636 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.00622, allocations: 3.938 kB / 0.7636 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.006223, allocations: 4 kB / 0.7636 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.006226, allocations: 3.984 kB / 0.7636 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.006338, allocations: 147.5 kB / 0.7637 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.517e-06/0.006348, allocations: 4 kB / 0.7637 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.006361, allocations: 4.812 kB / 0.7637 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.336e-05/0.006424, allocations: 7.984 kB / 0.7637 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.006476, allocations: 16.42 kB / 0.7637 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.006481, allocations: 0 / 0.7637 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.867e-05/0.006499, allocations: 16.03 kB / 0.7638 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.006499, allocations: 0 / 0.7638 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001875/0.006687, allocations: 8 kB / 0.7638 GB, free: 2.656 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 (intGreEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 8.797e-05/0.006775, allocations: 88.34 kB / 0.7639 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.793e-05/0.006853, allocations: 24.78 kB / 0.7639 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.006855, allocations: 0 / 0.7639 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.082e-05/0.006886, allocations: 15.3 kB / 0.7639 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.007055, allocations: 11.98 kB / 0.7639 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002585/0.007314, allocations: 132.5 kB / 0.764 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.722e-05/0.007351, allocations: 59.34 kB / 0.7641 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.534e-05/0.007386, allocations: 6.938 kB / 0.7641 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.371e-05/0.00745, allocations: 55.38 kB / 0.7641 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/0.007451, allocations: 0 / 0.7641 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of Templates: time 0.003199/0.01065, allocations: 0.9811 MB / 0.7651 GB, free: 1.277 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.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.3001905009150505]