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: 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.01031/0.01031, allocations: 102.3 kB / 15.73 MB, free: 5.992 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.0016/0.0016, allocations: 193.6 kB / 16.67 MB, free: 5.922 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.489/1.489, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.683/2.683, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001485, allocations: 63.91 kB / 1.054 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9489/0.9504, allocations: 157.4 MB / 1.208 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002432/0.9529, allocations: 1.154 MB / 1.209 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002095/0.955, allocations: 1.509 MB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.9551, allocations: 4 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001565/0.9553, allocations: 31.61 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.9554, allocations: 51.52 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.9566, allocations: 495.3 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006857/0.9573, allocations: 0.6245 MB / 1.211 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000318/0.9576, allocations: 132.5 kB / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002455/0.9579, allocations: 239.4 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.9582, allocations: 219.1 kB / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.725e-05/0.9582, allocations: 63.98 kB / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.9584, allocations: 67.98 kB / 1.212 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.139e-05/0.9585, allocations: 75.77 kB / 1.212 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002477/0.9588, allocations: 223.1 kB / 1.212 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006998/0.9595, allocations: 0.6288 MB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.9595, allocations: 0 / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.524e-06/0.9595, allocations: 3.938 kB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.9595, allocations: 0 / 1.213 GB, free: 8.301 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.001031/0.9605, allocations: 0.751 MB / 1.214 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.9606, allocations: 12.03 kB / 1.214 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.9607, allocations: 40.56 kB / 1.214 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.9618, allocations: 411.9 kB / 1.214 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.988e-05/0.9618, allocations: 20.81 kB / 1.214 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.418e-05/0.9619, allocations: 36.38 kB / 1.214 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004569/0.9624, allocations: 259.7 kB / 1.215 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.9624, allocations: 3.938 kB / 1.215 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.9624, allocations: 11.98 kB / 1.215 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.9625, allocations: 8 kB / 1.215 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.9628, allocations: 153.7 kB / 1.215 GB, free: 6.5 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.9642, allocations: 0.8373 MB / 1.216 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/0.9646, allocations: 222.7 kB / 1.216 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002765/0.9648, allocations: 204.8 kB / 1.216 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.9649, allocations: 3.984 kB / 1.216 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003645/0.9652, allocations: 255.7 kB / 1.216 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=28): time 1.713e-06/0.9652, allocations: 0 / 1.216 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28): time 0.0007272/0.966, allocations: 427 kB / 1.217 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.9661, allocations: 118.8 kB / 1.217 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003441/0.9664, allocations: 324.2 kB / 1.217 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.367e-05/0.9665, allocations: 45.7 kB / 1.217 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.9667, allocations: 176.5 kB / 1.217 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.08e-05/0.9668, allocations: 59.34 kB / 1.217 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002632/0.967, allocations: 145.9 kB / 1.217 GB, free: 3.582 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0003164/0.9673, allocations: 346.8 kB / 1.218 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004925/0.9678, allocations: 208.6 kB / 1.218 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005017/0.9684, allocations: 325 kB / 1.218 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007838/0.9691, allocations: 0.5311 MB / 1.219 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.9692, allocations: 0 / 1.219 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001262/0.9704, allocations: 0.7329 MB / 1.22 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001461/0.9706, allocations: 122.8 kB / 1.22 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.9706, allocations: 12 kB / 1.22 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/0.9706, allocations: 4 kB / 1.22 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.9709, allocations: 59.91 kB / 1.22 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.9709, allocations: 7.938 kB / 1.22 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006906/0.9716, allocations: 139.3 kB / 1.22 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/0.9718, allocations: 63.92 kB / 1.22 GB, free: 0.875 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.0002901/0.9721, allocations: 193.8 kB / 1.22 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.247e-05/0.9721, allocations: 27.62 kB / 1.22 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006111/0.9727, allocations: 373.6 kB / 1.22 GB, free: 280 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.9728, allocations: 4 kB / 1.22 GB, free: 276 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.9728, allocations: 3.938 kB / 1.22 GB, free: 272 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.9728, allocations: 7.922 kB / 1.22 GB, free: 264 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.9738, allocations: 0.753 MB / 1.221 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.9738, allocations: 0 / 1.221 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.9739, allocations: 39.86 kB / 1.221 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.974, allocations: 0 / 1.221 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.974, allocations: 11.98 kB / 1.221 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.974, allocations: 0 / 1.221 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.974, allocations: 0 / 1.221 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005165/0.9745, allocations: 428.1 kB / 1.222 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.808e-05/0.9746, allocations: 116.6 kB / 1.222 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.9747, allocations: 8 kB / 1.222 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.9748, allocations: 15.92 kB / 1.222 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.03e-05/0.9749, allocations: 19.97 kB / 1.222 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.9749, allocations: 15.94 kB / 1.222 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002257/0.9752, allocations: 215.1 kB / 1.222 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9752, allocations: 0 / 1.222 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004404/0.9756, allocations: 91.91 kB / 1.222 GB, free: 14.47 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.0003258/0.9759, allocations: 121.5 kB / 1.222 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001041/0.977, allocations: 0.6775 MB / 1.223 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.977, allocations: 0 / 1.223 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.9772, allocations: 148.6 kB / 1.223 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005629/0.9778, allocations: 86.52 kB / 1.223 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.9789, allocations: 0.5714 MB / 1.224 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.9794, allocations: 0.7769 MB / 1.224 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001585/0.9795, allocations: 75.22 kB / 1.225 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.426e-05/0.9796, allocations: 35.44 kB / 1.225 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of SimCode: time 5.71e-07/0.9796, allocations: 0 / 1.225 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of Templates: time 0.01131/0.9909, allocations: 5.671 MB / 1.23 GB, free: 6.277 MB / 0.9512 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","/var/lib/jenkins/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