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.0009505/0.0009505, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009893/0.0009893, allocations: 185.3 kB / 24.09 MB, free: 416 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.009/1.009, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.921/1.921, allocations: 377.9 MB / 0.6239 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 177] 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 2.414e-06/2.414e-06, allocations: 0 / 0.812 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.913e-05, allocations: 2.312 kB / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001776/0.001795, allocations: 0.7182 MB / 0.8127 GB, free: 0.7383 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.002888, allocations: 0.8703 MB / 0.8136 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.545e-05/0.002944, allocations: 0.75 kB / 0.8136 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.308e-05/0.002977, allocations: 7.875 kB / 0.8136 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.293e-05/0.00306, allocations: 9 kB / 0.8136 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/0.00321, allocations: 19.92 kB / 0.8136 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.182e-05/0.003302, allocations: 51.89 kB / 0.8136 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.003417, allocations: 13.39 kB / 0.8137 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.003534, allocations: 27.86 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.986e-05/0.003594, allocations: 19.97 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.003614, allocations: 5.812 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.109e-05/0.003625, allocations: 4 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.268e-05/0.003648, allocations: 11.92 kB / 0.8137 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.056e-05/0.003679, allocations: 15.98 kB / 0.8137 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.003782, allocations: 35.83 kB / 0.8138 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.003784, allocations: 1.594 kB / 0.8138 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.91e-07/0.003785, allocations: 0 / 0.8138 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.387e-06/0.003788, allocations: 0 / 0.8138 GB, free: 15.64 MB / 0.7761 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.0004549/0.004243, allocations: 372.6 kB / 0.8141 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.004289, allocations: 12.62 kB / 0.8141 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.004328, allocations: 16.89 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.884e-05/0.004427, allocations: 113.9 kB / 0.8143 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.004448, allocations: 4.359 kB / 0.8143 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.004461, allocations: 8.312 kB / 0.8143 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.004607, allocations: 64.09 kB / 0.8143 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.004616, allocations: 3.938 kB / 0.8143 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.004624, allocations: 0 / 0.8143 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.004631, allocations: 1.375 kB / 0.8143 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.507e-05/0.004676, allocations: 11.98 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.00502, allocations: 270 kB / 0.8146 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.64e-05/0.005117, allocations: 42.98 kB / 0.8147 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.184e-05/0.005149, allocations: 19.69 kB / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.005168, allocations: 0 / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.005193, allocations: 42.73 kB / 0.8147 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.005194, allocations: 3.938 kB / 0.8147 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001679/0.005362, allocations: 49.62 kB / 0.8148 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.005393, allocations: 55.91 kB / 0.8148 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.043e-05/0.005484, allocations: 174.4 kB / 0.815 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.005498, allocations: 27.64 kB / 0.815 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.769e-05/0.005556, allocations: 130.9 kB / 0.8151 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.005578, allocations: 11.94 kB / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.00562, allocations: 23.38 kB / 0.8152 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.005772, allocations: 496.1 kB / 0.8156 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.226e-05/0.005794, allocations: 6.25 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.034e-05/0.005815, allocations: 7.984 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.838e-05/0.005863, allocations: 19.67 kB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.005866, allocations: 0 / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.684e-05/0.005963, allocations: 61.52 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.005975, allocations: 6.656 kB / 0.8157 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.00598, allocations: 0.7188 kB / 0.8157 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.005994, allocations: 0.5312 kB / 0.8157 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.464e-05/0.006078, allocations: 11.98 kB / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.006081, allocations: 1.656 kB / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.684e-05/0.006118, allocations: 4 kB / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.006125, allocations: 4.297 kB / 0.8158 GB, free: 13.42 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 8.484e-05/0.006209, allocations: 161.7 kB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.006238, allocations: 8.219 kB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.739e-05/0.006265, allocations: 12 kB / 0.8159 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.006268, allocations: 4.578 kB / 0.8159 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.006269, allocations: 0 / 0.8159 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.006272, allocations: 0.9375 kB / 0.8159 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.006413, allocations: 105.2 kB / 0.816 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.006415, allocations: 0.8438 kB / 0.816 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.36e-05/0.006458, allocations: 11.98 kB / 0.8161 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.00646, allocations: 1.625 kB / 0.8161 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/0.006469, allocations: 11.88 kB / 0.8161 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.006471, allocations: 0 / 0.8161 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.006472, allocations: 3.938 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.006622, allocations: 196.8 kB / 0.8163 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.388e-05/0.006635, allocations: 11.89 kB / 0.8163 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.006648, allocations: 7.938 kB / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.318e-05/0.006712, allocations: 6.156 kB / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.006759, allocations: 11.98 kB / 0.8163 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.006765, allocations: 3.984 kB / 0.8163 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.901e-05/0.006814, allocations: 127.2 kB / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.006814, allocations: 0 / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002459/0.00706, allocations: 10.19 kB / 0.8164 GB, free: 12.69 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 9.203e-05/0.007152, allocations: 96.66 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.56e-05/0.007247, allocations: 35.59 kB / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.007249, allocations: 0 / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.823e-05/0.007287, allocations: 20.81 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.007548, allocations: 7.984 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/0.007857, allocations: 127.4 kB / 0.8167 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.17e-05/0.007899, allocations: 59.34 kB / 0.8168 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.563e-05/0.007934, allocations: 10.53 kB / 0.8168 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.342e-05/0.008008, allocations: 78.2 kB / 0.8169 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of SimCode: time 4.41e-07/0.008008, allocations: 0 / 0.8169 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of Templates: time 0.003225/0.01123, allocations: 1.048 MB / 0.8179 GB, free: 11.18 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.118414502125233]