Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.RealExtractSignal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",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.001306/0.001306, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001328/0.001328, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.261/1.261, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.346/2.346, allocations: 437 MB / 0.7099 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 67.88 kB / 0.8687 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5855/0.5869, allocations: 151.6 MB / 1.017 GB, free: 2.84 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.00218/0.5891, allocations: 1.05 MB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001734/0.5909, allocations: 1.37 MB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.899e-05/0.591, allocations: 4 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.5912, allocations: 19.86 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.5913, allocations: 27.72 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006987/0.592, allocations: 247.5 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003706/0.5924, allocations: 347.1 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.5925, allocations: 73.58 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.5928, allocations: 135.6 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002699/0.593, allocations: 131.5 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.921e-05/0.5931, allocations: 16 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.416e-05/0.5932, allocations: 31.98 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.297e-05/0.5933, allocations: 55.75 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.5934, allocations: 115.4 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003427/0.5938, allocations: 369.1 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5938, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.22e-07/0.5938, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.5938, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008836/0.5947, allocations: 0.6033 MB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.5947, allocations: 12.03 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.704e-05/0.5948, allocations: 46.73 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.594e-05/0.5949, allocations: 32.66 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009026/0.5958, allocations: 374.7 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.5958, allocations: 16.36 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.591e-05/0.5959, allocations: 24.36 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004173/0.5963, allocations: 202.1 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.5963, allocations: 4 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.5963, allocations: 4 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.5963, allocations: 4 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004541/0.5968, allocations: 143.8 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.5979, allocations: 0.9107 MB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.5982, allocations: 153 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.5984, allocations: 80.25 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.5984, allocations: 4 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004051/0.5988, allocations: 167.5 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.683e-06/0.5989, allocations: 0 / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0008294/0.5997, allocations: 253.5 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.965e-05/0.5998, allocations: 158.2 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.6, allocations: 224.9 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.6001, allocations: 33.7 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.6002, allocations: 148.3 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.6002, allocations: 35.58 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.6003, allocations: 57.78 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.6005, allocations: 330.8 kB / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003227/0.6008, allocations: 99.91 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/0.6011, allocations: 160.8 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005354/0.6017, allocations: 270.9 kB / 1.025 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.6017, allocations: 3.938 kB / 1.025 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008204/0.6025, allocations: 384.4 kB / 1.025 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.797e-05/0.6026, allocations: 63.39 kB / 1.025 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.6026, allocations: 4.219 kB / 1.025 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.6026, allocations: 8 kB / 1.025 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.6028, allocations: 31.91 kB / 1.025 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.6028, allocations: 4 kB / 1.025 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003841/0.6032, allocations: 71.75 kB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/0.6032, allocations: 16 kB / 1.026 GB, free: 9.34 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.0001495/0.6034, allocations: 156.5 kB / 1.026 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.6034, allocations: 15.81 kB / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.188e-05/0.6035, allocations: 25.23 kB / 1.026 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.6035, allocations: 0 / 1.026 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6035, allocations: 7.938 kB / 1.026 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.6035, allocations: 0 / 1.026 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.6037, allocations: 257.5 kB / 1.026 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.6037, allocations: 8 kB / 1.026 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.6039, allocations: 23.97 kB / 1.026 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.6039, allocations: 480 / 1.026 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.6039, allocations: 4 kB / 1.026 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.6039, allocations: 0 / 1.026 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.6039, allocations: 4 kB / 1.026 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005578/0.6045, allocations: 248 kB / 1.026 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.108e-05/0.6046, allocations: 96.84 kB / 1.026 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.6046, allocations: 8 kB / 1.026 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.6047, allocations: 19.97 kB / 1.026 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.6048, allocations: 11.98 kB / 1.026 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.6048, allocations: 15.92 kB / 1.026 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001242/0.6049, allocations: 152.5 kB / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6049, allocations: 0 / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002823/0.6052, allocations: 51.89 kB / 1.027 GB, free: 8.148 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0008057/0.606, allocations: 0.7756 MB / 1.027 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006984/0.6067, allocations: 342.6 kB / 1.028 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.6068, allocations: 4 kB / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002538/0.607, allocations: 75.88 kB / 1.028 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.6074, allocations: 48.78 kB / 1.028 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003466/0.6108, allocations: 2.617 MB / 1.03 GB, free: 4.062 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.6111, allocations: 0.7479 MB / 1.031 GB, free: 3.289 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000128/0.6113, allocations: 33.53 kB / 1.031 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.098e-05/0.6114, allocations: 71.78 kB / 1.031 GB, free: 3.188 MB / 0.7794 GB Notification: Performance of SimCode: time 4e-07/0.6114, allocations: 0 / 1.031 GB, free: 3.188 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01362/0.625, allocations: 4.756 MB / 1.036 GB, free: 14.59 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/0.6252, allocations: 229.1 kB / 1.036 GB, free: 14.33 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/2.235, allocations: 3.938 kB / 1.036 GB, free: 14.32 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches