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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007421/0.007421, allocations: 102 kB / 15.73 MB, free: 6.051 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.00169/0.00169, allocations: 191.5 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.534/2.534, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 59.91 kB / 1.054 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8439/0.8455, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002255/0.8478, allocations: 1.148 MB / 1.208 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001927/0.8497, allocations: 1.501 MB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.8499, allocations: 4 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.8501, allocations: 35.61 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.8502, allocations: 63.5 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.8514, allocations: 494.8 kB / 1.21 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006862/0.8521, allocations: 0.6206 MB / 1.211 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003201/0.8524, allocations: 154.7 kB / 1.211 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002883/0.8527, allocations: 227.4 kB / 1.211 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003199/0.853, allocations: 219.2 kB / 1.212 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.8532, allocations: 60 kB / 1.212 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.8533, allocations: 71.98 kB / 1.212 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.8534, allocations: 71.77 kB / 1.212 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002558/0.8537, allocations: 231 kB / 1.212 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005957/0.8543, allocations: 0.623 MB / 1.213 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.8543, allocations: 0 / 1.213 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8543, allocations: 0 / 1.213 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.8543, allocations: 4 kB / 1.213 GB, free: 8.043 MB / 0.9356 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.0009915/0.8553, allocations: 0.751 MB / 1.213 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.8554, allocations: 12.03 kB / 1.213 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.935e-05/0.8554, allocations: 54.73 kB / 1.213 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.8556, allocations: 48.55 kB / 1.213 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009099/0.8565, allocations: 407.9 kB / 1.214 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.178e-05/0.8565, allocations: 28.8 kB / 1.214 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.533e-05/0.8566, allocations: 32.38 kB / 1.214 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004092/0.857, allocations: 255.5 kB / 1.214 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.857, allocations: 0 / 1.214 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.8571, allocations: 8 kB / 1.214 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.8571, allocations: 8 kB / 1.214 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002624/0.8574, allocations: 153.7 kB / 1.214 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.8587, allocations: 0.849 MB / 1.215 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003501/0.8591, allocations: 221.4 kB / 1.215 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.8594, allocations: 204.7 kB / 1.216 GB, free: 4.855 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.8594, allocations: 0 / 1.216 GB, free: 4.855 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000328/0.8597, allocations: 255.8 kB / 1.216 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=28): time 1.703e-06/0.8597, allocations: 0 / 1.216 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28): time 0.0006734/0.8604, allocations: 431 kB / 1.216 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/0.8605, allocations: 110.8 kB / 1.216 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.8608, allocations: 328.2 kB / 1.217 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.484e-05/0.8609, allocations: 41.7 kB / 1.217 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.861, allocations: 188.4 kB / 1.217 GB, free: 3.465 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.915e-05/0.8611, allocations: 59.27 kB / 1.217 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002223/0.8613, allocations: 142 kB / 1.217 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.8614, allocations: 342.8 kB / 1.217 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003684/0.8618, allocations: 208.7 kB / 1.218 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004239/0.8622, allocations: 325 kB / 1.218 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006735/0.8629, allocations: 0.5311 MB / 1.218 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.8629, allocations: 0 / 1.218 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001226/0.8642, allocations: 0.7366 MB / 1.219 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.581e-05/0.8643, allocations: 122.8 kB / 1.219 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.8643, allocations: 4 kB / 1.219 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.8643, allocations: 11.98 kB / 1.219 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.8645, allocations: 51.86 kB / 1.219 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.8646, allocations: 15.92 kB / 1.219 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006359/0.8652, allocations: 135.7 kB / 1.219 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.8653, allocations: 63.92 kB / 1.22 GB, free: 0.5547 MB / 0.9356 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.0002493/0.8656, allocations: 189.8 kB / 1.22 GB, free: 368 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.994e-05/0.8657, allocations: 31.56 kB / 1.22 GB, free: 336 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005732/0.8662, allocations: 373.6 kB / 1.22 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.8663, allocations: 7.938 kB / 1.22 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.8663, allocations: 0 / 1.22 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.8663, allocations: 4 kB / 1.22 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009214/0.8672, allocations: 0.749 MB / 1.221 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.8672, allocations: 7.938 kB / 1.221 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.8673, allocations: 39.91 kB / 1.221 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.8674, allocations: 0 / 1.221 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.8674, allocations: 8 kB / 1.221 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.8674, allocations: 0 / 1.221 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8674, allocations: 0 / 1.221 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004628/0.8679, allocations: 432.1 kB / 1.221 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.681e-05/0.8679, allocations: 116.5 kB / 1.221 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.868, allocations: 7.984 kB / 1.221 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.8681, allocations: 15.94 kB / 1.221 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.8682, allocations: 19.97 kB / 1.221 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.8682, allocations: 8 kB / 1.221 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002311/0.8684, allocations: 223 kB / 1.222 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.71e-07/0.8684, allocations: 0 / 1.222 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004368/0.8689, allocations: 91.91 kB / 1.222 GB, free: 14.15 MB / 0.9512 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.0009321/0.8698, allocations: 0.988 MB / 1.223 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008727/0.8707, allocations: 0.673 MB / 1.223 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.8707, allocations: 4 kB / 1.223 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.8709, allocations: 143.8 kB / 1.224 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004916/0.8714, allocations: 79.33 kB / 1.224 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004893/0.8763, allocations: 3.824 MB / 1.227 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.8767, allocations: 0.7838 MB / 1.228 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001746/0.8769, allocations: 79.2 kB / 1.228 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.8771, allocations: 111.4 kB / 1.228 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of SimCode: time 2.615e-06/0.8771, allocations: 0 / 1.228 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02667/0.9038, allocations: 8.449 MB / 1.237 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.247/9.151, allocations: 3.5 kB / 1.237 GB, free: 14.95 MB / 0.9669 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.fmu > 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches