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.007956/0.007957, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001725/0.001726, allocations: 195.6 kB / 16.67 MB, free: 5.969 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.759/2.759, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 63.91 kB / 1.054 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3379, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002662/0.3406, allocations: 1.148 MB / 1.208 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002234/0.3429, allocations: 1.521 MB / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.3431, allocations: 0 / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001454/0.3433, allocations: 31.61 kB / 1.21 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.3434, allocations: 59.44 kB / 1.21 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.3446, allocations: 495.2 kB / 1.21 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007106/0.3453, allocations: 0.6246 MB / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003129/0.3456, allocations: 148.7 kB / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003396/0.346, allocations: 223.5 kB / 1.211 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003431/0.3463, allocations: 215.2 kB / 1.212 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001512/0.3465, allocations: 60 kB / 1.212 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.3467, allocations: 79.98 kB / 1.212 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.594e-05/0.3468, allocations: 71.72 kB / 1.212 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002409/0.347, allocations: 227.1 kB / 1.212 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006051/0.3476, allocations: 0.6308 MB / 1.213 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3477, allocations: 3.938 kB / 1.213 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3477, allocations: 0 / 1.213 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.661e-05/0.3477, allocations: 0 / 1.213 GB, free: 4.613 MB / 0.9669 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.001008/0.3487, allocations: 0.7472 MB / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3487, allocations: 8.625 kB / 1.213 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.657e-05/0.3488, allocations: 62.72 kB / 1.213 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.3489, allocations: 44.56 kB / 1.213 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009741/0.3499, allocations: 399.9 kB / 1.214 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.539e-05/0.35, allocations: 24.81 kB / 1.214 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.278e-05/0.35, allocations: 36.38 kB / 1.214 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003982/0.3504, allocations: 255.5 kB / 1.214 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.3505, allocations: 0 / 1.214 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.3505, allocations: 19.92 kB / 1.214 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.3505, allocations: 4 kB / 1.214 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002396/0.3507, allocations: 153.7 kB / 1.214 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.3521, allocations: 0.8489 MB / 1.215 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/0.3524, allocations: 214.8 kB / 1.215 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.3527, allocations: 212.7 kB / 1.216 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.3527, allocations: 4 kB / 1.216 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000323/0.353, allocations: 243.8 kB / 1.216 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=28): time 1.964e-06/0.3531, allocations: 0 / 1.216 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28): time 0.0006785/0.3537, allocations: 431.6 kB / 1.216 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/0.3538, allocations: 114.7 kB / 1.216 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.3541, allocations: 328.2 kB / 1.217 GB, free: 280 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.291e-05/0.3542, allocations: 41.7 kB / 1.217 GB, free: 232 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.3543, allocations: 176.6 kB / 1.217 GB, free: 48 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.893e-05/0.3544, allocations: 63.38 kB / 1.217 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.3546, allocations: 142 kB / 1.217 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3548, allocations: 342.8 kB / 1.217 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/0.3551, allocations: 204.7 kB / 1.218 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004013/0.3555, allocations: 325 kB / 1.218 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005689/0.3561, allocations: 0.5388 MB / 1.218 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.3561, allocations: 4 kB / 1.218 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001052/0.3572, allocations: 0.7248 MB / 1.219 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.758e-05/0.3573, allocations: 132.3 kB / 1.219 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.3573, allocations: 8.391 kB / 1.219 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.3573, allocations: 8 kB / 1.219 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.3575, allocations: 71.78 kB / 1.219 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.3576, allocations: 7.938 kB / 1.219 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006713/0.3582, allocations: 127.5 kB / 1.219 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.3583, allocations: 63.92 kB / 1.22 GB, free: 13.12 MB / 0.9825 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.0002257/0.3586, allocations: 197.6 kB / 1.22 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.555e-05/0.3586, allocations: 35.62 kB / 1.22 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005278/0.3592, allocations: 353.7 kB / 1.22 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.3592, allocations: 7.938 kB / 1.22 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.3592, allocations: 0 / 1.22 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.3592, allocations: 3.984 kB / 1.22 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009425/0.3601, allocations: 0.7491 MB / 1.221 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3602, allocations: 7.938 kB / 1.221 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.3603, allocations: 31.98 kB / 1.221 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.405e-05/0.3603, allocations: 4 kB / 1.221 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.3603, allocations: 4 kB / 1.221 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.792e-06/0.3603, allocations: 7.984 kB / 1.221 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3603, allocations: 0 / 1.221 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004519/0.3608, allocations: 428 kB / 1.221 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.361, allocations: 120.5 kB / 1.221 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.361, allocations: 8 kB / 1.221 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.3611, allocations: 11.98 kB / 1.221 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.3612, allocations: 19.98 kB / 1.221 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.3612, allocations: 15.98 kB / 1.221 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001903/0.3614, allocations: 211.1 kB / 1.222 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3614, allocations: 0 / 1.222 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004085/0.3618, allocations: 95.84 kB / 1.222 GB, free: 10.73 MB / 0.9825 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.0007835/0.3626, allocations: 0.9958 MB / 1.223 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008543/0.3635, allocations: 0.6699 MB / 1.223 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3635, allocations: 0 / 1.223 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.3637, allocations: 151.9 kB / 1.224 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005101/0.3642, allocations: 76.97 kB / 1.224 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004981/0.3692, allocations: 3.824 MB / 1.227 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.3696, allocations: 0.7798 MB / 1.228 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001856/0.3698, allocations: 71.22 kB / 1.228 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.37, allocations: 115.4 kB / 1.228 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.37, allocations: 0 / 1.228 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/0.3971, allocations: 8.616 MB / 1.237 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.309/8.706, allocations: 0 / 1.237 GB, free: 11.36 MB / 0.9981 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