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.0012/0.0012, 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.001329/0.001329, allocations: 185 kB / 24.09 MB, free: 420 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.9931/0.9931, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.909/1.909, allocations: 377.9 MB / 0.624 GB, free: 8.391 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 1.924e-06/1.924e-06, allocations: 0 / 0.812 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.629e-05/1.822e-05, allocations: 2.312 kB / 0.812 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.001587/0.001605, allocations: 1.102 MB / 0.8131 GB, free: 336 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001666/0.00327, allocations: 1.561 MB / 0.8146 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.708e-05/0.003358, allocations: 4 kB / 0.8146 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.003475, allocations: 32.77 kB / 0.8147 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.71e-05/0.003572, allocations: 71.38 kB / 0.8147 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007718/0.004344, allocations: 484.3 kB / 0.8152 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004461/0.00479, allocations: 0.5932 MB / 0.8158 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.004981, allocations: 93 kB / 0.8159 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003227/0.005304, allocations: 360.7 kB / 0.8162 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.00548, allocations: 157.5 kB / 0.8164 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.414e-05/0.005534, allocations: 48 kB / 0.8164 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.267e-05/0.005627, allocations: 56 kB / 0.8164 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.632e-05/0.005693, allocations: 76.2 kB / 0.8165 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.005807, allocations: 153.6 kB / 0.8167 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.006126, allocations: 382.8 kB / 0.817 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.006128, allocations: 0 / 0.817 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.52e-07/0.006129, allocations: 3.938 kB / 0.817 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.006132, allocations: 0 / 0.817 GB, free: 12.29 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.0006352/0.006768, allocations: 0.7734 MB / 0.8178 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.006806, allocations: 12.03 kB / 0.8178 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.664e-05/0.006883, allocations: 64.73 kB / 0.8179 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.007141, allocations: 275.4 kB / 0.8181 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.007173, allocations: 24.88 kB / 0.8182 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.331e-05/0.007216, allocations: 41 kB / 0.8182 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.007454, allocations: 302.4 kB / 0.8185 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.007463, allocations: 192 / 0.8185 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.00748, allocations: 13.09 kB / 0.8185 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.007488, allocations: 4.375 kB / 0.8185 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.978e-05/0.007568, allocations: 75.84 kB / 0.8186 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008885/0.008456, allocations: 0.675 MB / 0.8192 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.008591, allocations: 122.5 kB / 0.8193 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.261e-05/0.008643, allocations: 61.02 kB / 0.8194 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.194e-06/0.008651, allocations: 4 kB / 0.8194 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001951/0.008846, allocations: 314.6 kB / 0.8197 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=28): time 1.342e-06/0.008847, allocations: 0.7812 kB / 0.8197 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=28): time 0.0003059/0.009153, allocations: 277.5 kB / 0.82 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.009196, allocations: 112 kB / 0.8201 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.009393, allocations: 365.9 kB / 0.8204 GB, free: 8.559 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.009429, allocations: 41.7 kB / 0.8205 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.009552, allocations: 227.4 kB / 0.8207 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.009588, allocations: 68.34 kB / 0.8208 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.009725, allocations: 155.5 kB / 0.8209 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.009849, allocations: 0.517 MB / 0.8214 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.01002, allocations: 235.6 kB / 0.8216 GB, free: 7.27 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.01025, allocations: 456.7 kB / 0.8221 GB, free: 6.719 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002885/0.01054, allocations: 444.8 kB / 0.8225 GB, free: 6.203 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.01055, allocations: 4 kB / 0.8225 GB, free: 6.199 MB / 0.7761 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00059/0.01114, allocations: 0.7188 MB / 0.8232 GB, free: 5.43 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.357e-05/0.01121, allocations: 134.8 kB / 0.8233 GB, free: 5.273 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.01122, allocations: 7.984 kB / 0.8233 GB, free: 5.266 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.01124, allocations: 4.688 kB / 0.8233 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.01136, allocations: 55.91 kB / 0.8234 GB, free: 5.207 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.01136, allocations: 5.344 kB / 0.8234 GB, free: 5.203 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/0.01163, allocations: 100.5 kB / 0.8235 GB, free: 5.105 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.755e-05/0.0117, allocations: 68.52 kB / 0.8236 GB, free: 5.039 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,extIndInt.u[1],extIndInt4.u[1],extIndInt3.u[1],extIndInt2.u[1],extIndInt1.u[1],extIndInt4.u[4],extIndInt3.u[4],extIndInt2.u[4],extIndInt1.u[4],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],extIndInt.u[4],conInt2.y,conInt3.y,conInt.y) * 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.0001512/0.01185, allocations: 216.2 kB / 0.8238 GB, free: 4.824 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.01189, allocations: 43.77 kB / 0.8238 GB, free: 4.781 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002767/0.01216, allocations: 257.6 kB / 0.824 GB, free: 4.527 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.01217, allocations: 6.406 kB / 0.8241 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.01217, allocations: 0 / 0.8241 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.01217, allocations: 0 / 0.8241 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/0.01261, allocations: 0.5689 MB / 0.8246 GB, free: 3.922 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.01261, allocations: 0 / 0.8246 GB, free: 3.922 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.08e-05/0.01268, allocations: 44.91 kB / 0.8247 GB, free: 3.879 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01268, allocations: 0 / 0.8247 GB, free: 3.879 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.01269, allocations: 8 kB / 0.8247 GB, free: 3.871 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.01269, allocations: 1.062 kB / 0.8247 GB, free: 3.871 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01269, allocations: 0 / 0.8247 GB, free: 3.871 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.01291, allocations: 380.5 kB / 0.825 GB, free: 3.48 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.505e-05/0.01294, allocations: 40.77 kB / 0.8251 GB, free: 3.441 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.01296, allocations: 7.953 kB / 0.8251 GB, free: 3.434 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.465e-05/0.01302, allocations: 11.94 kB / 0.8251 GB, free: 3.422 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.01306, allocations: 25.08 kB / 0.8251 GB, free: 3.398 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.01307, allocations: 12 kB / 0.8251 GB, free: 3.387 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001034/0.01317, allocations: 218.9 kB / 0.8253 GB, free: 3.176 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01317, allocations: 1.875 kB / 0.8253 GB, free: 3.176 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002631/0.01344, allocations: 91.94 kB / 0.8254 GB, free: 3.086 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.0001307/0.01357, allocations: 131.5 kB / 0.8255 GB, free: 2.953 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006655/0.01423, allocations: 0.6306 MB / 0.8262 GB, free: 2.242 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01423, allocations: 1.656 kB / 0.8262 GB, free: 2.242 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.08e-05/0.01432, allocations: 96.02 kB / 0.8262 GB, free: 2.145 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.01464, allocations: 82.81 kB / 0.8263 GB, free: 2.062 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005229/0.01516, allocations: 0.5096 MB / 0.8268 GB, free: 1.52 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.415e-05/0.01521, allocations: 97.98 kB / 0.8269 GB, free: 1.406 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.458e-05/0.0153, allocations: 47.27 kB / 0.827 GB, free: 1.363 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002477/0.01555, allocations: 198.1 kB / 0.8272 GB, free: 1.168 MB / 0.7761 GB Notification: Performance of SimCode: time 1.273e-06/0.01555, allocations: 0 / 0.8272 GB, free: 1.168 MB / 0.7761 GB Notification: Performance of Templates: time 0.008067/0.02361, allocations: 6.32 MB / 0.8333 GB, free: 11 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.299226330127567]