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.0009869/0.000987, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009386/0.0009386, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.658/2.658, allocations: 461.9 MB / 0.7347 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 68.42 kB / 0.8992 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3063, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002744/0.3091, allocations: 1.143 MB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002045/0.3112, allocations: 1.529 MB / 1.056 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000187/0.3114, allocations: 7.938 kB / 1.056 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001699/0.3116, allocations: 27.61 kB / 1.056 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.3118, allocations: 59.5 kB / 1.056 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.3131, allocations: 493.1 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006966/0.3138, allocations: 0.6167 MB / 1.057 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003103/0.3141, allocations: 140.5 kB / 1.057 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003195/0.3144, allocations: 231.4 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002675/0.3147, allocations: 187.4 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.3149, allocations: 60 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.315, allocations: 71.98 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.168e-05/0.3151, allocations: 79.69 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002762/0.3154, allocations: 227.1 kB / 1.058 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006063/0.316, allocations: 0.6157 MB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.316, allocations: 0 / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.623e-06/0.316, allocations: 3.938 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.267e-05/0.3161, allocations: 0 / 1.058 GB, free: 2.836 MB / 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.00112/0.3172, allocations: 0.7356 MB / 1.059 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.3173, allocations: 16.56 kB / 1.059 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.536e-05/0.3173, allocations: 58.73 kB / 1.059 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.3175, allocations: 48.47 kB / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.3186, allocations: 400 kB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.583e-05/0.3186, allocations: 24.81 kB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.781e-05/0.3187, allocations: 40.38 kB / 1.06 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004189/0.3191, allocations: 251.5 kB / 1.06 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3192, allocations: 3.938 kB / 1.06 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/0.3192, allocations: 12 kB / 1.06 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.3192, allocations: 11.92 kB / 1.06 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002614/0.3195, allocations: 153.7 kB / 1.06 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.3207, allocations: 0.8529 MB / 1.061 GB, free: 72 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.3211, allocations: 222.7 kB / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/0.3213, allocations: 208.7 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.3214, allocations: 4 kB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003172/0.3217, allocations: 248.5 kB / 1.061 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.3217, allocations: 0 / 1.061 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28): time 0.000702/0.3224, allocations: 430.9 kB / 1.062 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.43e-05/0.3225, allocations: 110.8 kB / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003099/0.3228, allocations: 320.3 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.77e-05/0.3229, allocations: 45.7 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.323, allocations: 176.5 kB / 1.062 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.853e-05/0.3231, allocations: 75.12 kB / 1.063 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002468/0.3234, allocations: 145.9 kB / 1.063 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.3235, allocations: 342.8 kB / 1.063 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003606/0.3239, allocations: 204.7 kB / 1.063 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004177/0.3243, allocations: 325 kB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006086/0.3249, allocations: 0.5311 MB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.3249, allocations: 3.938 kB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001082/0.326, allocations: 0.7245 MB / 1.065 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.916e-05/0.3261, allocations: 126.8 kB / 1.065 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.3261, allocations: 4.406 kB / 1.065 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.3261, allocations: 12 kB / 1.065 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.3263, allocations: 63.78 kB / 1.065 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.3264, allocations: 8 kB / 1.065 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006367/0.327, allocations: 123.5 kB / 1.065 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-05/0.3271, allocations: 67.92 kB / 1.065 GB, free: 11.34 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.0002015/0.3273, allocations: 197.6 kB / 1.065 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.3274, allocations: 35.62 kB / 1.065 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004998/0.3279, allocations: 357.7 kB / 1.066 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.3279, allocations: 7.938 kB / 1.066 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3279, allocations: 0 / 1.066 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.3279, allocations: 3.984 kB / 1.066 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008564/0.3288, allocations: 0.7563 MB / 1.066 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.3288, allocations: 7.938 kB / 1.066 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.3289, allocations: 31.98 kB / 1.066 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.3289, allocations: 4 kB / 1.066 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.329, allocations: 4 kB / 1.066 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.329, allocations: 4 kB / 1.066 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.329, allocations: 3.984 kB / 1.066 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004507/0.3294, allocations: 427 kB / 1.067 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.62e-05/0.3295, allocations: 120.5 kB / 1.067 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.3296, allocations: 4 kB / 1.067 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.3297, allocations: 11.98 kB / 1.067 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.263e-05/0.3298, allocations: 19.98 kB / 1.067 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.3298, allocations: 15.98 kB / 1.067 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001989/0.33, allocations: 211.1 kB / 1.067 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.33, allocations: 4 kB / 1.067 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000399/0.3304, allocations: 95.88 kB / 1.067 GB, free: 8.949 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.0008061/0.3312, allocations: 0.9996 MB / 1.068 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008734/0.3321, allocations: 0.7042 MB / 1.069 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3321, allocations: 0 / 1.069 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.3323, allocations: 155.8 kB / 1.069 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004972/0.3328, allocations: 73.84 kB / 1.069 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004789/0.3376, allocations: 3.829 MB / 1.073 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.338, allocations: 0.7804 MB / 1.074 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001771/0.3382, allocations: 71.23 kB / 1.074 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.3383, allocations: 111.4 kB / 1.074 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of SimCode: time 1.653e-06/0.3383, allocations: 0 / 1.074 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0295/0.3678, allocations: 8.376 MB / 1.082 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.292/7.66, allocations: 10.06 kB / 1.082 GB, free: 9.746 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