Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.RealExtractor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",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.001205/0.001205, 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.001209/0.001209, allocations: 195.2 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.692/2.692, allocations: 469.8 MB / 0.7424 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 66.97 kB / 0.9087 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2809, allocations: 159.2 MB / 1.064 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002683/0.2836, allocations: 1.344 MB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002137/0.2858, allocations: 1.552 MB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.286, allocations: 4 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.2861, allocations: 35.55 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.2863, allocations: 67.36 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.2875, allocations: 499.3 kB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007541/0.2882, allocations: 0.6794 MB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003133/0.2885, allocations: 165.1 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003195/0.2889, allocations: 255.4 kB / 1.069 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.2891, allocations: 215.1 kB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.2893, allocations: 64 kB / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.2894, allocations: 79.98 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.2895, allocations: 79.77 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002544/0.2898, allocations: 254.9 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006726/0.2905, allocations: 0.666 MB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2905, allocations: 0 / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2905, allocations: 0 / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.2905, allocations: 0 / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001321/0.2918, allocations: 0.9413 MB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.2919, allocations: 15.95 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.583e-05/0.292, allocations: 58.73 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.2921, allocations: 52.47 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.2934, allocations: 479.7 kB / 1.071 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.706e-05/0.2935, allocations: 28.94 kB / 1.071 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-05/0.2936, allocations: 44.36 kB / 1.071 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006461/0.2943, allocations: 321.1 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.2943, allocations: 0 / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.2943, allocations: 12 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.2943, allocations: 4 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006493/0.295, allocations: 254 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.2965, allocations: 0.9315 MB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006584/0.2972, allocations: 370.6 kB / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005254/0.2977, allocations: 292.7 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.2978, allocations: 7.984 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005765/0.2984, allocations: 319 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 1.813e-06/0.2984, allocations: 0 / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.001568/0.2999, allocations: 0.8342 MB / 1.075 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.3001, allocations: 195.9 kB / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/0.3004, allocations: 284.5 kB / 1.075 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.368e-05/0.3004, allocations: 41.7 kB / 1.075 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.3006, allocations: 172.7 kB / 1.075 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.3007, allocations: 126.3 kB / 1.075 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.3009, allocations: 134.1 kB / 1.076 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3011, allocations: 354.8 kB / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006048/0.3017, allocations: 272.8 kB / 1.076 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006559/0.3024, allocations: 365.8 kB / 1.077 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.3036, allocations: 0.905 MB / 1.077 GB, free: 92 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3036, allocations: 0 / 1.077 GB, free: 92 kB / 0.8262 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001692/0.3053, allocations: 0.9936 MB / 1.078 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001755/0.3055, allocations: 259.6 kB / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.3055, allocations: 8 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.3056, allocations: 4 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.3058, allocations: 63.89 kB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.3059, allocations: 11.88 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007306/0.3066, allocations: 143.5 kB / 1.079 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.3067, allocations: 71.86 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0002992/0.307, allocations: 318.7 kB / 1.079 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.884e-05/0.3071, allocations: 47.47 kB / 1.079 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.001e-05/0.3072, allocations: 39.48 kB / 1.079 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.3072, allocations: 8 kB / 1.079 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3072, allocations: 0 / 1.079 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.3072, allocations: 3.984 kB / 1.079 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.309, allocations: 1.194 MB / 1.08 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.309, allocations: 0 / 1.08 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/0.3093, allocations: 63.89 kB / 1.081 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.3093, allocations: 4 kB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.3093, allocations: 11.98 kB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.3093, allocations: 7.938 kB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3093, allocations: 4 kB / 1.081 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.3105, allocations: 0.7535 MB / 1.081 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.108e-05/0.3106, allocations: 116.5 kB / 1.081 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.321e-05/0.3107, allocations: 16 kB / 1.081 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.3109, allocations: 35.89 kB / 1.081 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.529e-05/0.311, allocations: 35.91 kB / 1.082 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-05/0.3111, allocations: 47.89 kB / 1.082 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001961/0.3113, allocations: 203.1 kB / 1.082 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.5e-07/0.3113, allocations: 0 / 1.082 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004073/0.3117, allocations: 100 kB / 1.082 GB, free: 11.24 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * 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.001504/0.3132, allocations: 1.33 MB / 1.083 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001721/0.315, allocations: 1.198 MB / 1.084 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.315, allocations: 0.5625 kB / 1.084 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006237/0.3156, allocations: 0.5245 MB / 1.085 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005261/0.3161, allocations: 92.47 kB / 1.085 GB, free: 7.871 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006715/0.3229, allocations: 4.647 MB / 1.089 GB, free: 3.027 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.3233, allocations: 0.7963 MB / 1.09 GB, free: 2.199 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002453/0.3235, allocations: 99.08 kB / 1.09 GB, free: 2.098 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.3237, allocations: 115.4 kB / 1.09 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.3237, allocations: 0 / 1.09 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03023/0.3539, allocations: 9.737 MB / 1.1 GB, free: 8.406 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.59/9.944, allocations: 9.031 kB / 1.1 GB, free: 8.402 MB / 0.8575 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches