Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_9_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.007828/0.007828, allocations: 101.6 kB / 15.73 MB, free: 6.055 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.001911/0.001911, allocations: 195.5 kB / 16.67 MB, free: 5.984 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.466/1.466, 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 9.1.3-maint.9.1.x/package.mo): time 2.383/2.383, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 70.86 kB / 0.9504 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2908, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002559/0.2935, allocations: 1.049 MB / 1.089 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002002/0.2955, allocations: 1.313 MB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.2956, allocations: 4 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.2958, allocations: 15.75 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.488e-05/0.2959, allocations: 39.64 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007669/0.2967, allocations: 275.1 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003763/0.2971, allocations: 367.3 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.2972, allocations: 75.2 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.2974, allocations: 135.7 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.2976, allocations: 127.5 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.525e-05/0.2976, allocations: 32 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.2977, allocations: 51.92 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.958e-05/0.2978, allocations: 43.84 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.2979, allocations: 127.5 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00036/0.2983, allocations: 381.8 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2983, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2983, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.2983, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0009221/0.2993, allocations: 0.6265 MB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.2993, allocations: 16.03 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.406e-05/0.2993, allocations: 46.73 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.687e-05/0.2994, allocations: 24.66 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.2997, allocations: 256.9 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.2997, allocations: 16.61 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.2998, allocations: 16.38 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004508/0.3002, allocations: 191.4 kB / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.3003, allocations: 0 / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.3003, allocations: 8 kB / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3003, allocations: 4 kB / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005252/0.3008, allocations: 164.5 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009957/0.3018, allocations: 0.6404 MB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000499/0.3023, allocations: 198.6 kB / 1.094 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003217/0.3027, allocations: 132.8 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.3027, allocations: 4 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004708/0.3032, allocations: 204.4 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.824e-06/0.3032, allocations: 0 / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.001068/0.3043, allocations: 462.3 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.3043, allocations: 110.8 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.3045, allocations: 207.2 kB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.982e-05/0.3046, allocations: 33.7 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.698e-05/0.3046, allocations: 132.4 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/0.3047, allocations: 51.28 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.3048, allocations: 65.69 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.978e-05/0.3049, allocations: 334.8 kB / 1.095 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003991/0.3053, allocations: 159.9 kB / 1.095 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000416/0.3058, allocations: 208.1 kB / 1.096 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000746/0.3065, allocations: 463.7 kB / 1.096 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3065, allocations: 0 / 1.096 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009873/0.3075, allocations: 0.5311 MB / 1.096 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.683e-05/0.3076, allocations: 126.7 kB / 1.097 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.3076, allocations: 8.125 kB / 1.097 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3076, allocations: 3.938 kB / 1.097 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.3078, allocations: 35.91 kB / 1.097 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.3078, allocations: 4 kB / 1.097 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004328/0.3083, allocations: 83.75 kB / 1.097 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.124e-05/0.3083, allocations: 35.95 kB / 1.097 GB, free: 8.062 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * 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.0001514/0.3085, allocations: 197.2 kB / 1.097 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.3085, allocations: 27.66 kB / 1.097 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.308e-05/0.3086, allocations: 17.88 kB / 1.097 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3086, allocations: 0 / 1.097 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3086, allocations: 0 / 1.097 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3086, allocations: 7.984 kB / 1.097 GB, free: 7.793 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009742/0.3096, allocations: 0.6874 MB / 1.098 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3096, allocations: 4 kB / 1.098 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.3098, allocations: 31.95 kB / 1.098 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3098, allocations: 11.94 kB / 1.098 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.3098, allocations: 4 kB / 1.098 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.3098, allocations: 4 kB / 1.098 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.3098, allocations: 3.938 kB / 1.098 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007668/0.3106, allocations: 462.4 kB / 1.098 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.454e-05/0.3107, allocations: 92.83 kB / 1.098 GB, free: 6.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.3107, allocations: 4 kB / 1.098 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.3109, allocations: 19.97 kB / 1.098 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.497e-05/0.311, allocations: 19.97 kB / 1.098 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.714e-05/0.311, allocations: 27.97 kB / 1.098 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001182/0.3111, allocations: 148.6 kB / 1.098 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3111, allocations: 4 kB / 1.098 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003069/0.3115, allocations: 59.94 kB / 1.099 GB, free: 6.113 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * 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.001073/0.3125, allocations: 1.007 MB / 1.1 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009173/0.3135, allocations: 0.5598 MB / 1.1 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3135, allocations: 4.25 kB / 1.1 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003776/0.3139, allocations: 242.7 kB / 1.1 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.3143, allocations: 58.5 kB / 1.1 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003989/0.3183, allocations: 2.993 MB / 1.103 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.3185, allocations: 0.728 MB / 1.104 GB, free: 276 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000112/0.3186, allocations: 49.5 kB / 1.104 GB, free: 228 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.408e-05/0.3187, allocations: 55.42 kB / 1.104 GB, free: 172 kB / 0.8575 GB Notification: Performance of SimCode: time 3.4e-07/0.3187, allocations: 0 / 1.104 GB, free: 172 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02065/0.3394, allocations: 5.851 MB / 1.11 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.845/8.184, allocations: 13.28 kB / 1.11 GB, free: 10.45 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches