Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.001496/0.001496, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001288/0.001288, allocations: 161 kB / 24.17 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.088/1.088, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.363 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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.479e-05, allocations: 6.25 kB / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001983/0.002008, allocations: 0.7632 MB / 0.7608 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.003037, allocations: 0.8797 MB / 0.7617 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.785e-05/0.003075, allocations: 0 / 0.7617 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/0.003103, allocations: 4.812 kB / 0.7617 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.791e-05/0.003181, allocations: 10.17 kB / 0.7617 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001236/0.003304, allocations: 19.92 kB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.932e-05/0.003384, allocations: 45.66 kB / 0.7618 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.167e-05/0.003465, allocations: 16.58 kB / 0.7618 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.588e-05/0.003551, allocations: 30.73 kB / 0.7618 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.627e-05/0.003607, allocations: 22.27 kB / 0.7618 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.003625, allocations: 4.531 kB / 0.7618 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.618e-06/0.003634, allocations: 5.406 kB / 0.7618 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.003654, allocations: 9.844 kB / 0.7618 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.187e-05/0.003676, allocations: 13.53 kB / 0.7619 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.729e-05/0.003773, allocations: 38.5 kB / 0.7619 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.003776, allocations: 1.188 kB / 0.7619 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.583e-06/0.003777, allocations: 0 / 0.7619 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.003782, allocations: 0 / 0.7619 GB, free: 4.738 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.0003265/0.004108, allocations: 246.8 kB / 0.7621 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.00414, allocations: 12.03 kB / 0.7621 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.579e-05/0.004166, allocations: 1.594 kB / 0.7621 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.664e-05/0.004252, allocations: 121.7 kB / 0.7623 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.00427, allocations: 8.312 kB / 0.7623 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.004278, allocations: 5.125 kB / 0.7623 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.004408, allocations: 63.69 kB / 0.7623 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.004415, allocations: 3.938 kB / 0.7623 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.004422, allocations: 1.844 kB / 0.7623 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.004427, allocations: 0 / 0.7623 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.345e-05/0.00446, allocations: 14.17 kB / 0.7624 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00026/0.00472, allocations: 168.2 kB / 0.7625 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.341e-05/0.004794, allocations: 38.56 kB / 0.7626 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.27e-05/0.004816, allocations: 12.86 kB / 0.7626 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.004829, allocations: 5.406 kB / 0.7626 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.004851, allocations: 38.55 kB / 0.7626 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.004852, allocations: 0 / 0.7626 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001294/0.004981, allocations: 49.62 kB / 0.7627 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.005008, allocations: 56.59 kB / 0.7627 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.356e-05/0.005072, allocations: 110.7 kB / 0.7628 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.005083, allocations: 29.7 kB / 0.7628 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.005117, allocations: 89.91 kB / 0.7629 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.005136, allocations: 11.95 kB / 0.7629 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.005173, allocations: 21.69 kB / 0.763 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.483e-05/0.005258, allocations: 310.8 kB / 0.7633 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.987e-05/0.005278, allocations: 7.984 kB / 0.7633 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.609e-05/0.005294, allocations: 11.25 kB / 0.7633 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.096e-05/0.005335, allocations: 16.84 kB / 0.7633 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.005336, allocations: 0 / 0.7633 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.723e-05/0.005414, allocations: 53.56 kB / 0.7633 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.005427, allocations: 4 kB / 0.7633 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.005431, allocations: 0 / 0.7633 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.005442, allocations: 0 / 0.7633 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.031e-05/0.005522, allocations: 14.8 kB / 0.7634 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.005524, allocations: 0 / 0.7634 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.394e-05/0.005558, allocations: 8 kB / 0.7634 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.005565, allocations: 3.984 kB / 0.7634 GB, free: 3.09 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,intGreThr.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.415e-05/0.005629, allocations: 109.8 kB / 0.7635 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.005654, allocations: 8.266 kB / 0.7635 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.12e-05/0.005675, allocations: 8 kB / 0.7635 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.00568, allocations: 9.422 kB / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.005681, allocations: 0 / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.005684, allocations: 0 / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.005804, allocations: 73.84 kB / 0.7636 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.005806, allocations: 0.6562 kB / 0.7636 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.005851, allocations: 11.98 kB / 0.7636 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.005853, allocations: 0.7188 kB / 0.7636 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.005859, allocations: 6.781 kB / 0.7636 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.00586, allocations: 0 / 0.7636 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.005861, allocations: 3.938 kB / 0.7636 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.00597, allocations: 143.5 kB / 0.7637 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.447e-06/0.005979, allocations: 11.86 kB / 0.7637 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.005992, allocations: 7.938 kB / 0.7638 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.761e-05/0.006049, allocations: 3.984 kB / 0.7638 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.006091, allocations: 11.98 kB / 0.7638 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.006096, allocations: 3.125 kB / 0.7638 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.657e-05/0.006112, allocations: 17.16 kB / 0.7638 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.006113, allocations: 0 / 0.7638 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001859/0.006298, allocations: 4 kB / 0.7638 GB, free: 2.625 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 (intGreThr.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.968e-05/0.006388, allocations: 84.41 kB / 0.7639 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.977e-05/0.006458, allocations: 20.8 kB / 0.7639 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.006461, allocations: 5.031 kB / 0.7639 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.953e-05/0.00649, allocations: 16.84 kB / 0.7639 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.006656, allocations: 6.438 kB / 0.7639 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000273/0.006929, allocations: 140.5 kB / 0.7641 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.051e-05/0.006969, allocations: 59.34 kB / 0.7641 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.264e-05/0.007002, allocations: 6.562 kB / 0.7641 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.109e-05/0.007063, allocations: 51.38 kB / 0.7642 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of SimCode: time 5.71e-07/0.007064, allocations: 0 / 0.7642 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of Templates: time 0.002645/0.009709, allocations: 0.967 MB / 0.7651 GB, free: 1.262 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_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.215996269136667]