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.001464/0.001464, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001526/0.001526, allocations: 169 kB / 24.28 MB, free: 276 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 0.996/0.996, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.879/1.879, allocations: 377.8 MB / 0.6239 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 1.723e-06/1.723e-06, allocations: 0 / 0.8115 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.385e-05/1.557e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.004514/0.00453, allocations: 0.7127 MB / 0.8122 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008782/0.005408, allocations: 0.8758 MB / 0.8131 GB, free: 488 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.66e-05/0.005445, allocations: 3.938 kB / 0.8131 GB, free: 484 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.515e-05/0.00547, allocations: 3.938 kB / 0.8131 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.469e-05/0.005545, allocations: 8.562 kB / 0.8131 GB, free: 472 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.005687, allocations: 23.91 kB / 0.8131 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.339e-05/0.00577, allocations: 54.25 kB / 0.8132 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.03e-05/0.005861, allocations: 4 kB / 0.8132 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.44e-05/0.005945, allocations: 35.89 kB / 0.8132 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.131e-05/0.005996, allocations: 15.98 kB / 0.8132 GB, free: 340 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.006018, allocations: 4 kB / 0.8132 GB, free: 336 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.468e-06/0.006028, allocations: 4 kB / 0.8132 GB, free: 332 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.006047, allocations: 12.83 kB / 0.8132 GB, free: 320 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.006072, allocations: 11.98 kB / 0.8133 GB, free: 308 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.114e-05/0.006164, allocations: 40.86 kB / 0.8133 GB, free: 268 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.006166, allocations: 0 / 0.8133 GB, free: 268 kB / 0.7605 GB Notification: Performance of FrontEnd: time 5.41e-07/0.006166, allocations: 0 / 0.8133 GB, free: 268 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.00617, allocations: 1.344 kB / 0.8133 GB, free: 268 kB / 0.7605 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.0003992/0.00657, allocations: 372.6 kB / 0.8137 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.006607, allocations: 12.03 kB / 0.8137 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.006648, allocations: 10.83 kB / 0.8137 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.51e-05/0.006744, allocations: 112.5 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.006766, allocations: 12.34 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.006775, allocations: 384 / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.006912, allocations: 70.92 kB / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.006919, allocations: 5.625 kB / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.00693, allocations: 4 kB / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.006937, allocations: 0 / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.08e-05/0.006988, allocations: 15.98 kB / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003344/0.01033, allocations: 280.5 kB / 0.8142 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.01044, allocations: 51.52 kB / 0.8142 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.01047, allocations: 20.28 kB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.01048, allocations: 0 / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.01051, allocations: 37.86 kB / 0.8143 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.01051, allocations: 1.188 kB / 0.8143 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001873/0.01069, allocations: 65.61 kB / 0.8143 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.01072, allocations: 51.41 kB / 0.8144 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.535e-05/0.01081, allocations: 174.4 kB / 0.8145 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.01082, allocations: 27.08 kB / 0.8146 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.025e-05/0.01087, allocations: 130.9 kB / 0.8147 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.01089, allocations: 7.953 kB / 0.8147 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.01092, allocations: 27.36 kB / 0.8147 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.01104, allocations: 493.3 kB / 0.8152 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.38e-05/0.01106, allocations: 4 kB / 0.8152 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.199e-05/0.01108, allocations: 11.98 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.903e-05/0.01113, allocations: 24.66 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.01114, allocations: 3.938 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.333e-05/0.01123, allocations: 58.42 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.01124, allocations: 7.984 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.01125, allocations: 0.8438 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.01126, allocations: 0 / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.566e-05/0.01134, allocations: 9.281 kB / 0.8153 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.01134, allocations: 0 / 0.8153 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.493e-05/0.01137, allocations: 7.984 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.01138, allocations: 0.8438 kB / 0.8153 GB, free: 14 MB / 0.7761 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.852e-05/0.01145, allocations: 160.5 kB / 0.8155 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.01147, allocations: 9.375 kB / 0.8155 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000286/0.01176, allocations: 8 kB / 0.8155 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.01176, allocations: 0 / 0.8155 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.01177, allocations: 9.359 kB / 0.8155 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.01177, allocations: 0 / 0.8155 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.0119, allocations: 132.7 kB / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.0119, allocations: 5.344 kB / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.01194, allocations: 11.94 kB / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01194, allocations: 0 / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.01195, allocations: 3.984 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.01195, allocations: 6.875 kB / 0.8157 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01195, allocations: 0 / 0.8157 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.01209, allocations: 195.9 kB / 0.8158 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.0121, allocations: 11.83 kB / 0.8159 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.01212, allocations: 0 / 0.8159 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.395e-05/0.01218, allocations: 11.98 kB / 0.8159 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.505e-05/0.01224, allocations: 11.98 kB / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.01224, allocations: 0.5 kB / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.435e-05/0.01228, allocations: 131.2 kB / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01228, allocations: 1.344 kB / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002309/0.01252, allocations: 4 kB / 0.816 GB, free: 13.24 MB / 0.7761 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.31e-05/0.0126, allocations: 104.2 kB / 0.8161 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001016/0.0127, allocations: 27.67 kB / 0.8161 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.0127, allocations: 0.5312 kB / 0.8161 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.009e-05/0.01274, allocations: 28.33 kB / 0.8162 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.01298, allocations: 14.56 kB / 0.8162 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003308/0.01629, allocations: 137 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.888e-05/0.01633, allocations: 55.36 kB / 0.8164 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.535e-05/0.01637, allocations: 10.73 kB / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/0.01641, allocations: 12.5 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of SimCode: time 6.61e-07/0.01641, allocations: 0 / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of Templates: time 0.005729/0.02214, allocations: 0.9666 MB / 0.8173 GB, free: 11.86 MB / 0.7761 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 -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.14875761885196]