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: "" <> 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.001136/0.001136, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006846/0.006847, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.365/1.365, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.652/2.652, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003645, allocations: 16.72 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3317, allocations: 159.6 MB / 1.059 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.001533/0.3333, allocations: 0.8437 MB / 1.06 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002469/0.3358, allocations: 1.568 MB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000198/0.336, allocations: 4 kB / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.3362, allocations: 15.8 kB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000188/0.3364, allocations: 55.62 kB / 1.061 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.3376, allocations: 449.8 kB / 1.062 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007471/0.3384, allocations: 0.5113 MB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004057/0.3388, allocations: 140.4 kB / 1.062 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003966/0.3392, allocations: 175.4 kB / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003243/0.3395, allocations: 151.3 kB / 1.063 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.3397, allocations: 24 kB / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.3399, allocations: 31.98 kB / 1.063 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.34, allocations: 51.77 kB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003102/0.3403, allocations: 204.7 kB / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007697/0.3411, allocations: 0.5726 MB / 1.063 GB, free: 84 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.3411, allocations: 0 / 1.063 GB, free: 84 kB / 0.8106 GB Notification: Performance of FrontEnd: time 2.495e-06/0.3411, allocations: 0 / 1.063 GB, free: 84 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.6e-05/0.3411, allocations: 4 kB / 1.063 GB, free: 80 kB / 0.8106 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.00119/0.3423, allocations: 0.6382 MB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.3424, allocations: 19.97 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001148/0.3425, allocations: 62.72 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001666/0.3427, allocations: 44.47 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.3439, allocations: 409.5 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.685e-05/0.3439, allocations: 24.8 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.199e-05/0.344, allocations: 40.31 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000442/0.3445, allocations: 255.5 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3445, allocations: 7.922 kB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.3445, allocations: 8 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.3445, allocations: 4 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002746/0.3448, allocations: 161.7 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.3463, allocations: 0.8606 MB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003244/0.3467, allocations: 221.2 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002569/0.3469, allocations: 200.8 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.3469, allocations: 4 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000339/0.3473, allocations: 252.5 kB / 1.067 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 1.433e-06/0.3473, allocations: 0 / 1.067 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28): time 0.0006864/0.348, allocations: 427 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.748e-05/0.3481, allocations: 114.8 kB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003528/0.3485, allocations: 320.4 kB / 1.067 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.441e-05/0.3485, allocations: 37.7 kB / 1.067 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.3487, allocations: 188.5 kB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.925e-05/0.3488, allocations: 59.19 kB / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.3489, allocations: 73.67 kB / 1.068 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.349, allocations: 346.8 kB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003621/0.3494, allocations: 204.7 kB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004268/0.3498, allocations: 324.9 kB / 1.069 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006322/0.3505, allocations: 0.535 MB / 1.069 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3505, allocations: 0 / 1.069 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001094/0.3516, allocations: 0.7329 MB / 1.07 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.116e-05/0.3517, allocations: 122.8 kB / 1.07 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.3517, allocations: 8 kB / 1.07 GB, free: 9 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.3517, allocations: 4 kB / 1.07 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.3519, allocations: 63.84 kB / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.3519, allocations: 4 kB / 1.07 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007047/0.3526, allocations: 167.5 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.3528, allocations: 75.86 kB / 1.07 GB, free: 8.691 MB / 0.8262 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.0002251/0.353, allocations: 193.6 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.353, allocations: 31.62 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005194/0.3536, allocations: 365.6 kB / 1.071 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.3536, allocations: 11.92 kB / 1.071 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3536, allocations: 0 / 1.071 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.3536, allocations: 7.984 kB / 1.071 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008867/0.3545, allocations: 0.7562 MB / 1.072 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.3545, allocations: 3.938 kB / 1.072 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.3547, allocations: 39.92 kB / 1.072 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3547, allocations: 4 kB / 1.072 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.3547, allocations: 11.98 kB / 1.072 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3547, allocations: 0 / 1.072 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.3547, allocations: 0 / 1.072 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004687/0.3552, allocations: 419 kB / 1.072 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.074e-05/0.3553, allocations: 116.5 kB / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.3553, allocations: 8 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.3555, allocations: 11.98 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/0.3555, allocations: 27.95 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.3555, allocations: 16 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002068/0.3558, allocations: 211.1 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3558, allocations: 0 / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004113/0.3562, allocations: 99.83 kB / 1.072 GB, free: 6.285 MB / 0.8262 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.0008393/0.357, allocations: 0.988 MB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008782/0.3579, allocations: 0.6691 MB / 1.074 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3579, allocations: 0 / 1.074 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.3581, allocations: 152.7 kB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005265/0.3587, allocations: 72.98 kB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00485/0.3635, allocations: 3.893 MB / 1.078 GB, free: 264 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.3639, allocations: 0.7807 MB / 1.079 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001791/0.3641, allocations: 75.22 kB / 1.079 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.3642, allocations: 111.4 kB / 1.079 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.3642, allocations: 0 / 1.079 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/0.3854, allocations: 7.919 MB / 1.087 GB, free: 7.59 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/0.3857, allocations: 222.7 kB / 1.087 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/2.207, allocations: 3.938 kB / 1.087 GB, free: 7.328 MB / 0.8419 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