Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_11_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.004319/0.004319, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001272/0.001272, allocations: 201.5 kB / 16.68 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.678/2.678, allocations: 469.8 MB / 0.7425 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 71.89 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2716, allocations: 159.1 MB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.00223/0.2739, allocations: 1.141 MB / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001886/0.2758, allocations: 1.513 MB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.833e-05/0.2759, allocations: 4 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.276, allocations: 31.55 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.2762, allocations: 59.5 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.2772, allocations: 494.3 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006375/0.2779, allocations: 0.6206 MB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002575/0.2781, allocations: 152.4 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.2783, allocations: 227.5 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002707/0.2786, allocations: 207.3 kB / 1.225 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.734e-05/0.2787, allocations: 60 kB / 1.225 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.2789, allocations: 71.98 kB / 1.225 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.849e-05/0.279, allocations: 79.69 kB / 1.225 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002314/0.2792, allocations: 227.1 kB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006113/0.2798, allocations: 0.6306 MB / 1.226 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.2798, allocations: 4 kB / 1.226 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2798, allocations: 0 / 1.226 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.2799, allocations: 0 / 1.226 GB, free: 8.746 MB / 0.9825 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.000899/0.2808, allocations: 0.7586 MB / 1.226 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.2808, allocations: 12.03 kB / 1.226 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.714e-05/0.2809, allocations: 54.73 kB / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.281, allocations: 52.69 kB / 1.226 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009468/0.2819, allocations: 404.1 kB / 1.227 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.758e-05/0.282, allocations: 24.81 kB / 1.227 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.004e-05/0.2821, allocations: 32.38 kB / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003984/0.2825, allocations: 259.5 kB / 1.227 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.2825, allocations: 7.938 kB / 1.227 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.2825, allocations: 8 kB / 1.227 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.2825, allocations: 8 kB / 1.227 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002469/0.2828, allocations: 153.7 kB / 1.227 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.284, allocations: 0.8531 MB / 1.228 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003332/0.2844, allocations: 214.8 kB / 1.228 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.2846, allocations: 210.3 kB / 1.228 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.2846, allocations: 4 kB / 1.228 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003286/0.285, allocations: 252.6 kB / 1.229 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=28): time 1.442e-06/0.285, allocations: 3.938 kB / 1.229 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28): time 0.0006741/0.2857, allocations: 439.1 kB / 1.229 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.554e-05/0.2858, allocations: 110.8 kB / 1.229 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003118/0.2861, allocations: 316.5 kB / 1.23 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.19e-05/0.2861, allocations: 41.7 kB / 1.23 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.2863, allocations: 184.7 kB / 1.23 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.449e-05/0.2864, allocations: 67.52 kB / 1.23 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.2866, allocations: 146 kB / 1.23 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2867, allocations: 338.8 kB / 1.23 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/0.2871, allocations: 212.7 kB / 1.231 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004507/0.2876, allocations: 324.9 kB / 1.231 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006367/0.2882, allocations: 0.5272 MB / 1.231 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.2882, allocations: 0 / 1.231 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001102/0.2893, allocations: 0.7405 MB / 1.232 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.628e-05/0.2894, allocations: 126.8 kB / 1.232 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.2894, allocations: 4 kB / 1.232 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.2895, allocations: 11.94 kB / 1.232 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.2897, allocations: 59.78 kB / 1.232 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.2897, allocations: 8 kB / 1.232 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006498/0.2903, allocations: 132 kB / 1.232 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.955e-05/0.2904, allocations: 63.92 kB / 1.232 GB, free: 1.215 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.0002074/0.2907, allocations: 198.1 kB / 1.233 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.69e-05/0.2907, allocations: 31.81 kB / 1.233 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005324/0.2913, allocations: 365.4 kB / 1.233 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.2913, allocations: 11.94 kB / 1.233 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2913, allocations: 0 / 1.233 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2913, allocations: 0 / 1.233 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009015/0.2922, allocations: 0.7603 MB / 1.234 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.2922, allocations: 7.922 kB / 1.234 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.2923, allocations: 31.98 kB / 1.234 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2923, allocations: 0 / 1.234 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.2924, allocations: 8 kB / 1.234 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.2924, allocations: 4 kB / 1.234 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2924, allocations: 4 kB / 1.234 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004816/0.2929, allocations: 432.8 kB / 1.234 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.978e-05/0.293, allocations: 116.8 kB / 1.234 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.9e-05/0.293, allocations: 11.98 kB / 1.234 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.2931, allocations: 8 kB / 1.234 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.2932, allocations: 19.97 kB / 1.234 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.2932, allocations: 11.98 kB / 1.234 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002175/0.2934, allocations: 223.1 kB / 1.235 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2934, allocations: 0 / 1.235 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004058/0.2939, allocations: 91.89 kB / 1.235 GB, free: 14.81 MB / 0.9981 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.0008665/0.2947, allocations: 0.9915 MB / 1.236 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008859/0.2956, allocations: 0.6697 MB / 1.236 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2956, allocations: 4 kB / 1.236 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.2958, allocations: 148.3 kB / 1.236 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004891/0.2963, allocations: 79.62 kB / 1.237 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004767/0.3011, allocations: 3.834 MB / 1.24 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.3015, allocations: 0.7876 MB / 1.241 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001593/0.3017, allocations: 67.23 kB / 1.241 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.3018, allocations: 115.4 kB / 1.241 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of SimCode: time 3.4e-07/0.3018, allocations: 0 / 1.241 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.904/1.206, allocations: 8.426 MB / 1.249 GB, free: 29.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.289/9.495, allocations: 6 kB / 1.249 GB, free: 29.7 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches