Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009259/0.0009259, allocations: 97.91 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009478/0.000948, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.795/2.795, allocations: 436.5 MB / 0.7104 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.000361, allocations: 8 kB / 0.8708 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8469/0.8473, allocations: 153.7 MB / 1.021 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.001497/0.8489, allocations: 0.8152 MB / 1.022 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00219/0.8511, allocations: 1.413 MB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001903/0.8513, allocations: 7.938 kB / 1.023 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.8515, allocations: 15.8 kB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002006/0.8517, allocations: 63.78 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.853, allocations: 410.8 kB / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004886/0.8535, allocations: 292.2 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003218/0.8539, allocations: 111.1 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002288/0.8541, allocations: 167.5 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.8543, allocations: 151.4 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.585e-05/0.8544, allocations: 20 kB / 1.024 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.8545, allocations: 27.98 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.744e-05/0.8546, allocations: 55.77 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.8547, allocations: 85.52 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004903/0.8552, allocations: 476.7 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.8552, allocations: 0 / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.903e-06/0.8552, allocations: 7.938 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.8552, allocations: 0 / 1.025 GB, free: 12.99 MB / 0.7794 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.0009356/0.8562, allocations: 0.6419 MB / 1.025 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.8562, allocations: 15.98 kB / 1.025 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.8564, allocations: 43.53 kB / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.8575, allocations: 412.3 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.664e-05/0.8576, allocations: 24.44 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-05/0.8576, allocations: 35.95 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004893/0.8581, allocations: 255.2 kB / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.8582, allocations: 0 / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/0.8582, allocations: 15.92 kB / 1.026 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.8582, allocations: 4 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.8585, allocations: 153.7 kB / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.8601, allocations: 0.8529 MB / 1.027 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003984/0.8605, allocations: 214.7 kB / 1.027 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.8606, allocations: 4 kB / 1.027 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004055/0.861, allocations: 251.9 kB / 1.028 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 1.863e-06/0.861, allocations: 0 / 1.028 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28): time 0.0008153/0.8618, allocations: 430.5 kB / 1.028 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.8619, allocations: 110.8 kB / 1.028 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003885/0.8623, allocations: 328.2 kB / 1.028 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.621e-05/0.8624, allocations: 41.69 kB / 1.028 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.8626, allocations: 180.5 kB / 1.029 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.376e-05/0.8627, allocations: 63.25 kB / 1.029 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.8628, allocations: 12 kB / 1.029 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002167/0.863, allocations: 342.8 kB / 1.029 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003838/0.8634, allocations: 200.7 kB / 1.029 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004358/0.8638, allocations: 328.7 kB / 1.03 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004079/0.8642, allocations: 336 kB / 1.03 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.8643, allocations: 4 kB / 1.03 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001092/0.8653, allocations: 0.7325 MB / 1.031 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001222/0.8655, allocations: 126.8 kB / 1.031 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.8655, allocations: 4 kB / 1.031 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.8655, allocations: 4 kB / 1.031 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.8657, allocations: 63.86 kB / 1.031 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.8658, allocations: 7.938 kB / 1.031 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007063/0.8665, allocations: 171.8 kB / 1.031 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.8666, allocations: 67.92 kB / 1.031 GB, free: 6.211 MB / 0.7794 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],extIndInt.u[2],extIndInt.u[3],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,$PRE.intPul.booPul.y,intPul.booPul.y,$PRE.intPul1.booPul.y,intPul1.booPul.y,intPul2.y,$PRE.intPul2.booPul.y,intPul2.booPul.y,intPul3.y,$PRE.intPul3.booPul.y,intPul3.booPul.y,extIndInt4.u[1],extIndInt3.u[1],extIndInt2.u[1],extIndInt1.u[1],extIndInt4.u[4],extIndInt3.u[4],extIndInt2.u[4],extIndInt1.u[4]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002314/0.8668, allocations: 191.6 kB / 1.031 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.8669, allocations: 35.62 kB / 1.031 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005462/0.8675, allocations: 369 kB / 1.032 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.8675, allocations: 4 kB / 1.032 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.8675, allocations: 3.953 kB / 1.032 GB, free: 5.602 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.8675, allocations: 0 / 1.032 GB, free: 5.602 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.8685, allocations: 0.7568 MB / 1.032 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.8685, allocations: 3.984 kB / 1.032 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.8687, allocations: 35.92 kB / 1.032 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.8687, allocations: 0 / 1.032 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.8687, allocations: 11.95 kB / 1.032 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.8687, allocations: 0 / 1.032 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.8687, allocations: 4 kB / 1.032 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005071/0.8692, allocations: 439.2 kB / 1.033 GB, free: 4.289 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.075e-05/0.8693, allocations: 104.7 kB / 1.033 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.396e-05/0.8694, allocations: 11.98 kB / 1.033 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.8695, allocations: 11.95 kB / 1.033 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.919e-05/0.8696, allocations: 19.97 kB / 1.033 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.8696, allocations: 11.98 kB / 1.033 GB, free: 4.113 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000228/0.8699, allocations: 215.1 kB / 1.033 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8699, allocations: 0 / 1.033 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004504/0.8703, allocations: 91.91 kB / 1.033 GB, free: 3.816 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002143/0.8706, allocations: 125.4 kB / 1.033 GB, free: 3.684 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009616/0.8715, allocations: 0.6691 MB / 1.034 GB, free: 2.965 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.8715, allocations: 0.8125 kB / 1.034 GB, free: 2.965 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.8717, allocations: 140.7 kB / 1.034 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.8722, allocations: 72.98 kB / 1.034 GB, free: 2.758 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.8732, allocations: 0.6273 MB / 1.035 GB, free: 2.105 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.8736, allocations: 0.7811 MB / 1.036 GB, free: 1.301 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000185/0.8738, allocations: 75.22 kB / 1.036 GB, free: 1.223 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.858e-05/0.8739, allocations: 43.36 kB / 1.036 GB, free: 1.18 MB / 0.7794 GB Notification: Performance of SimCode: time 5.91e-07/0.8739, allocations: 7.938 kB / 1.036 GB, free: 1.172 MB / 0.7794 GB Notification: Performance of Templates: time 0.0114/0.8853, allocations: 5.014 MB / 1.041 GB, free: 12.23 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches