Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.00086/0.00086, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001013/0.001013, allocations: 165 kB / 23.82 MB, free: 0.7539 MB / 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.9774/0.9774, allocations: 177.1 MB / 204.2 MB, free: 5.59 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 2.025/2.025, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndInt.u.[0-9,]+.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndInt.u.[0-9,]+.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.294e-05/3.557e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002762/0.002798, allocations: 1.147 MB / 0.8127 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002428/0.005226, allocations: 1.549 MB / 0.8142 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000167/0.005393, allocations: 8.594 kB / 0.8142 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000174/0.005567, allocations: 36.12 kB / 0.8142 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.005735, allocations: 64.53 kB / 0.8143 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.007011, allocations: 482.9 kB / 0.8147 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0008044/0.007816, allocations: 0.59 MB / 0.8153 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002465/0.008062, allocations: 97.55 kB / 0.8154 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003429/0.008405, allocations: 341.9 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.008633, allocations: 171.5 kB / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.925e-05/0.008702, allocations: 56 kB / 0.816 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.008813, allocations: 68 kB / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.157e-05/0.008895, allocations: 79.69 kB / 0.8161 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.009055, allocations: 179.6 kB / 0.8163 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004756/0.009531, allocations: 435.9 kB / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.009536, allocations: 0 / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.332e-06/0.009537, allocations: 0 / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.009544, allocations: 1.031 kB / 0.8167 GB, free: 12.48 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008501/0.01039, allocations: 0.7794 MB / 0.8174 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.01043, allocations: 8.031 kB / 0.8175 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.01055, allocations: 61.72 kB / 0.8175 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006581/0.01121, allocations: 336.9 kB / 0.8178 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.715e-05/0.01125, allocations: 30.2 kB / 0.8179 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.177e-05/0.0113, allocations: 36.38 kB / 0.8179 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003315/0.01163, allocations: 341.8 kB / 0.8182 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.01164, allocations: 192 / 0.8182 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.01166, allocations: 14.3 kB / 0.8182 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.01168, allocations: 16.11 kB / 0.8183 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.01182, allocations: 106.9 kB / 0.8184 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009597/0.01278, allocations: 0.7332 MB / 0.8191 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.01301, allocations: 155.2 kB / 0.8192 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.01311, allocations: 95.52 kB / 0.8193 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.01312, allocations: 4.906 kB / 0.8193 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002824/0.0134, allocations: 339.8 kB / 0.8196 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=28): time 2.014e-06/0.0134, allocations: 0 / 0.8196 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of matching and sorting (n=28): time 0.0005014/0.01391, allocations: 363.7 kB / 0.82 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.01397, allocations: 116 kB / 0.8201 GB, free: 8.73 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.01421, allocations: 366 kB / 0.8204 GB, free: 8.355 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.01426, allocations: 37.7 kB / 0.8205 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.01439, allocations: 232 kB / 0.8207 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.01443, allocations: 55.59 kB / 0.8208 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.01461, allocations: 161 kB / 0.8209 GB, free: 7.855 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.01479, allocations: 0.5196 MB / 0.8214 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/0.01508, allocations: 283.6 kB / 0.8217 GB, free: 7.023 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003534/0.01543, allocations: 0.4899 MB / 0.8222 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004241/0.01586, allocations: 0.4917 MB / 0.8226 GB, free: 5.859 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.01586, allocations: 4 kB / 0.8226 GB, free: 5.855 MB / 0.7761 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008066/0.01667, allocations: 0.8046 MB / 0.8234 GB, free: 5 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.285e-05/0.01675, allocations: 133.7 kB / 0.8236 GB, free: 4.848 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.01676, allocations: 0 / 0.8236 GB, free: 4.848 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/0.01678, allocations: 8 kB / 0.8236 GB, free: 4.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.01694, allocations: 59.84 kB / 0.8236 GB, free: 4.781 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.01695, allocations: 8 kB / 0.8236 GB, free: 4.773 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/0.01726, allocations: 105.3 kB / 0.8237 GB, free: 4.672 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.719e-05/0.01734, allocations: 67.86 kB / 0.8238 GB, free: 4.605 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,conInt3.y,conInt2.y,extIndInt.u[4],extIndInt.u[1],extIndInt1.u[4],extIndInt2.u[4],extIndInt3.u[4],extIndInt4.u[4],extIndInt1.u[1],extIndInt2.u[1],extIndInt3.u[1],extIndInt4.u[1],intPul3.booPul.y,$PRE.intPul3.booPul.y,intPul3.y,intPul2.booPul.y,$PRE.intPul2.booPul.y,intPul2.y,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul.booPul.y,$PRE.intPul.booPul.y,extIndInt4.y,extIndInt4.u[3],extIndInt4.u[2],extIndInt3.y,extIndInt3.u[3],extIndInt3.u[2],extIndInt2.y,extIndInt2.u[3],extIndInt2.u[2],extIndInt1.y,extIndInt1.u[3],extIndInt1.u[2],extIndInt.u[3],extIndInt.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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 0.0001837/0.01752, allocations: 214.6 kB / 0.824 GB, free: 4.391 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/0.01756, allocations: 45.11 kB / 0.824 GB, free: 4.348 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003702/0.01793, allocations: 302.6 kB / 0.8243 GB, free: 4.051 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.01794, allocations: 7.938 kB / 0.8243 GB, free: 4.043 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.01794, allocations: 0 / 0.8243 GB, free: 4.043 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.01795, allocations: 4.578 kB / 0.8243 GB, free: 4.039 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006217/0.01857, allocations: 0.6666 MB / 0.825 GB, free: 3.332 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.01857, allocations: 2.75 kB / 0.825 GB, free: 3.332 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.944e-05/0.01866, allocations: 35.98 kB / 0.825 GB, free: 3.297 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.01867, allocations: 0 / 0.825 GB, free: 3.297 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.01868, allocations: 8 kB / 0.825 GB, free: 3.289 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.01868, allocations: 3.938 kB / 0.825 GB, free: 3.285 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.01869, allocations: 0 / 0.825 GB, free: 3.285 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.01904, allocations: 440.5 kB / 0.8255 GB, free: 2.836 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.491e-05/0.01908, allocations: 38.45 kB / 0.8255 GB, free: 2.801 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.0191, allocations: 7.984 kB / 0.8255 GB, free: 2.793 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.53e-05/0.01918, allocations: 8 kB / 0.8255 GB, free: 2.785 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/0.01924, allocations: 27.89 kB / 0.8255 GB, free: 2.758 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.01926, allocations: 12 kB / 0.8256 GB, free: 2.746 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001496/0.01941, allocations: 227 kB / 0.8258 GB, free: 2.527 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01941, allocations: 3.938 kB / 0.8258 GB, free: 2.523 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003362/0.01974, allocations: 96.83 kB / 0.8259 GB, free: 2.43 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: 32 (extIndInt.u[2],extIndInt.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.y,intPul2.booPul.y,intPul3.y,intPul3.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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 0.0002305/0.01997, allocations: 122.3 kB / 0.826 GB, free: 2.301 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006473/0.02062, allocations: 0.6909 MB / 0.8267 GB, free: 1.535 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.02062, allocations: 1.469 kB / 0.8267 GB, free: 1.535 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.02074, allocations: 124 kB / 0.8268 GB, free: 1.41 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.02111, allocations: 87.8 kB / 0.8269 GB, free: 1.324 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007547/0.02186, allocations: 0.5386 MB / 0.8274 GB, free: 0.75 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.596e-05/0.02194, allocations: 91.66 kB / 0.8275 GB, free: 0.6445 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001326/0.02207, allocations: 64.98 kB / 0.8275 GB, free: 0.5859 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.783e-05/0.02213, allocations: 36.48 kB / 0.8276 GB, free: 0.5469 MB / 0.7761 GB Notification: Performance of SimCode: time 1.222e-06/0.02213, allocations: 4 kB / 0.8276 GB, free: 0.543 MB / 0.7761 GB Notification: Performance of Templates: time 0.008346/0.03047, allocations: 5.907 MB / 0.8333 GB, free: 10.79 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.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.49840848101303]