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.001447/0.001447, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001505/0.001505, allocations: 169 kB / 24.28 MB, free: 272 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.9556/0.9556, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.985/1.985, allocations: 377.8 MB / 0.6239 GB, free: 8.566 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.134e-06/2.134e-06, allocations: 0 / 0.8115 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.025e-05/3.238e-05, allocations: 6.25 kB / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.003312/0.003344, allocations: 1.129 MB / 0.8126 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00244/0.005784, allocations: 1.554 MB / 0.8141 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.005944, allocations: 12.66 kB / 0.8142 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.006106, allocations: 27.61 kB / 0.8142 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.006251, allocations: 69.12 kB / 0.8143 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.007392, allocations: 479 kB / 0.8147 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006597/0.008052, allocations: 0.5893 MB / 0.8153 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002917/0.008343, allocations: 107 kB / 0.8154 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004431/0.008786, allocations: 331.5 kB / 0.8157 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002962/0.009083, allocations: 175.5 kB / 0.8159 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.581e-05/0.009178, allocations: 60 kB / 0.8159 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.009323, allocations: 73.73 kB / 0.816 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.766e-05/0.009421, allocations: 79.73 kB / 0.8161 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000206/0.009627, allocations: 171.6 kB / 0.8162 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005377/0.01016, allocations: 438.7 kB / 0.8167 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.01017, allocations: 0 / 0.8167 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.623e-06/0.01017, allocations: 1.188 kB / 0.8167 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.01018, allocations: 0 / 0.8167 GB, free: 12.83 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.0007794/0.01096, allocations: 0.7794 MB / 0.8174 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.011, allocations: 9.656 kB / 0.8174 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.01111, allocations: 60.75 kB / 0.8175 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005978/0.01171, allocations: 334.6 kB / 0.8178 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/0.01175, allocations: 24.88 kB / 0.8178 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.946e-05/0.0118, allocations: 40.36 kB / 0.8179 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.01212, allocations: 337.8 kB / 0.8182 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.01213, allocations: 4.188 kB / 0.8182 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.01214, allocations: 16.25 kB / 0.8182 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.01216, allocations: 12.84 kB / 0.8182 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.0123, allocations: 110.9 kB / 0.8183 GB, free: 11 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008643/0.01316, allocations: 0.7376 MB / 0.819 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.01337, allocations: 147.3 kB / 0.8192 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.01348, allocations: 99.5 kB / 0.8193 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.01349, allocations: 4.562 kB / 0.8193 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002754/0.01376, allocations: 331.4 kB / 0.8196 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=28): time 4.969e-06/0.01377, allocations: 1.156 kB / 0.8196 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=28): time 0.0004791/0.01425, allocations: 368.5 kB / 0.82 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.0143, allocations: 110.8 kB / 0.8201 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000245/0.01455, allocations: 367.4 kB / 0.8204 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.01459, allocations: 41.7 kB / 0.8205 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.01473, allocations: 231.4 kB / 0.8207 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.916e-05/0.01477, allocations: 59.58 kB / 0.8207 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.01493, allocations: 156.1 kB / 0.8209 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.01508, allocations: 0.5206 MB / 0.8214 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/0.01534, allocations: 291.6 kB / 0.8217 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/0.01567, allocations: 0.489 MB / 0.8221 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003918/0.01606, allocations: 0.4941 MB / 0.8226 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.01607, allocations: 0 / 0.8226 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007431/0.01681, allocations: 0.8073 MB / 0.8234 GB, free: 5.352 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.516e-05/0.01688, allocations: 125.6 kB / 0.8235 GB, free: 5.207 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.01688, allocations: 4.5 kB / 0.8235 GB, free: 5.203 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.0169, allocations: 4.562 kB / 0.8235 GB, free: 5.199 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.01703, allocations: 59.91 kB / 0.8236 GB, free: 5.141 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.01705, allocations: 9.328 kB / 0.8236 GB, free: 5.133 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002753/0.01732, allocations: 101.2 kB / 0.8237 GB, free: 5.035 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.52e-05/0.01739, allocations: 71.91 kB / 0.8238 GB, free: 4.965 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.0001406/0.01753, allocations: 216.1 kB / 0.824 GB, free: 4.75 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.01757, allocations: 47.75 kB / 0.824 GB, free: 4.703 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003458/0.01791, allocations: 307.4 kB / 0.8243 GB, free: 4.402 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.01792, allocations: 4 kB / 0.8243 GB, free: 4.398 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.01792, allocations: 0 / 0.8243 GB, free: 4.398 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.01793, allocations: 0 / 0.8243 GB, free: 4.398 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005642/0.01849, allocations: 0.667 MB / 0.825 GB, free: 3.691 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.01849, allocations: 0 / 0.825 GB, free: 3.691 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.513e-05/0.01857, allocations: 41.05 kB / 0.825 GB, free: 3.652 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.01857, allocations: 0 / 0.825 GB, free: 3.652 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.01859, allocations: 15.92 kB / 0.825 GB, free: 3.637 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.01859, allocations: 1.062 kB / 0.825 GB, free: 3.637 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01859, allocations: 0 / 0.825 GB, free: 3.637 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.0189, allocations: 440.5 kB / 0.8254 GB, free: 3.188 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.868e-05/0.01893, allocations: 36.83 kB / 0.8255 GB, free: 3.152 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.01895, allocations: 4 kB / 0.8255 GB, free: 3.148 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.226e-05/0.01902, allocations: 11.98 kB / 0.8255 GB, free: 3.137 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.01907, allocations: 24.69 kB / 0.8255 GB, free: 3.113 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.01908, allocations: 15.98 kB / 0.8255 GB, free: 3.098 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001253/0.01921, allocations: 229.4 kB / 0.8258 GB, free: 2.879 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01921, allocations: 0 / 0.8258 GB, free: 2.879 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002743/0.01948, allocations: 99.88 kB / 0.8259 GB, free: 2.781 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.0001611/0.01964, allocations: 119 kB / 0.826 GB, free: 2.656 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005916/0.02023, allocations: 0.6854 MB / 0.8266 GB, free: 1.895 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.02024, allocations: 1.188 kB / 0.8266 GB, free: 1.895 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.02036, allocations: 132 kB / 0.8268 GB, free: 1.762 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.02069, allocations: 84.2 kB / 0.8268 GB, free: 1.68 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006249/0.02132, allocations: 0.5379 MB / 0.8274 GB, free: 1.105 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.955e-05/0.02138, allocations: 97.98 kB / 0.8275 GB, free: 0.9922 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001004/0.02148, allocations: 63.23 kB / 0.8275 GB, free: 0.9336 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.02153, allocations: 32.5 kB / 0.8276 GB, free: 0.8984 MB / 0.7761 GB Notification: Performance of SimCode: time 9.32e-07/0.02153, allocations: 0 / 0.8276 GB, free: 0.8984 MB / 0.7761 GB Notification: Performance of Templates: time 0.007936/0.02946, allocations: 5.912 MB / 0.8333 GB, free: 11.13 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.47806220385246]