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.0008349/0.0008346, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.008391/0.008392, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.381/1.381, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.521/2.521, allocations: 437.8 MB / 0.7121 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003541, allocations: 12 kB / 0.873 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6239/0.6242, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001177/0.6254, allocations: 0.7153 MB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001889/0.6274, allocations: 1.362 MB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.708e-05/0.6275, allocations: 0 / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.6276, allocations: 15.86 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.6277, allocations: 39.72 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007277/0.6284, allocations: 241.3 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003445/0.6288, allocations: 335.3 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.629, allocations: 69.64 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.6292, allocations: 131.5 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002522/0.6294, allocations: 123.5 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.608e-05/0.6295, allocations: 16 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.817e-05/0.6296, allocations: 19.98 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/0.6296, allocations: 51.77 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.6298, allocations: 133.1 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003426/0.6301, allocations: 361 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.6301, allocations: 0 / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.315e-06/0.6301, allocations: 0 / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.6301, allocations: 4 kB / 1.027 GB, free: 12.25 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.0008688/0.631, allocations: 0.5682 MB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.6311, allocations: 12.03 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.039e-05/0.6311, allocations: 50.67 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.725e-05/0.6312, allocations: 32.56 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009235/0.6321, allocations: 394.8 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.6322, allocations: 12.38 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.994e-05/0.6322, allocations: 20.38 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004425/0.6327, allocations: 222.1 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.6327, allocations: 4 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.6327, allocations: 7.938 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.6327, allocations: 4 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005088/0.6333, allocations: 167.8 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.6343, allocations: 0.9147 MB / 1.029 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.6347, allocations: 173 kB / 1.029 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002612/0.635, allocations: 84.31 kB / 1.029 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.635, allocations: 15.92 kB / 1.029 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003907/0.6354, allocations: 179.5 kB / 1.029 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.6354, allocations: 0 / 1.029 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0009385/0.6363, allocations: 293.4 kB / 1.03 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.873e-05/0.6364, allocations: 166.4 kB / 1.03 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.6366, allocations: 220.9 kB / 1.03 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.911e-05/0.6367, allocations: 33.7 kB / 1.03 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.6368, allocations: 152.3 kB / 1.03 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.6369, allocations: 23.66 kB / 1.03 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-05/0.6369, allocations: 33.7 kB / 1.03 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.637, allocations: 338.7 kB / 1.031 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.6374, allocations: 111.9 kB / 1.031 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003616/0.6378, allocations: 167.6 kB / 1.031 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006069/0.6384, allocations: 298.9 kB / 1.031 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.6384, allocations: 4 kB / 1.031 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008788/0.6393, allocations: 396.6 kB / 1.032 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/0.6393, allocations: 67.39 kB / 1.032 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.6393, allocations: 0 / 1.032 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.6394, allocations: 4 kB / 1.032 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.6395, allocations: 40 kB / 1.032 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.6395, allocations: 4 kB / 1.032 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004338/0.64, allocations: 99.77 kB / 1.032 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.538e-05/0.64, allocations: 11.98 kB / 1.032 GB, free: 6.543 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.0001454/0.6402, allocations: 159.3 kB / 1.032 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.6402, allocations: 15.81 kB / 1.032 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.886e-05/0.6403, allocations: 25.23 kB / 1.032 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.6403, allocations: 0 / 1.032 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.6403, allocations: 7.938 kB / 1.032 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.6403, allocations: 0 / 1.032 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.6405, allocations: 261.4 kB / 1.032 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.6405, allocations: 0 / 1.032 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.6407, allocations: 39.97 kB / 1.032 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.6407, allocations: 4 kB / 1.032 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.6407, allocations: 4 kB / 1.032 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.6407, allocations: 4 kB / 1.032 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6407, allocations: 0 / 1.032 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005823/0.6413, allocations: 264 kB / 1.033 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.6414, allocations: 100.9 kB / 1.033 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.6414, allocations: 3.984 kB / 1.033 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.6416, allocations: 23.98 kB / 1.033 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.203e-05/0.6416, allocations: 23.91 kB / 1.033 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.6417, allocations: 7.938 kB / 1.033 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001347/0.6418, allocations: 164.5 kB / 1.033 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6418, allocations: 0 / 1.033 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003056/0.6421, allocations: 47.91 kB / 1.033 GB, free: 5.301 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.0009942/0.6431, allocations: 0.8029 MB / 1.034 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008001/0.6439, allocations: 359 kB / 1.034 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.6439, allocations: 0 / 1.034 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002988/0.6442, allocations: 92.38 kB / 1.034 GB, free: 3.988 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.6447, allocations: 52.84 kB / 1.034 GB, free: 3.938 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003813/0.6485, allocations: 2.69 MB / 1.037 GB, free: 1.086 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.6488, allocations: 0.744 MB / 1.037 GB, free: 324 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001475/0.649, allocations: 33.53 kB / 1.038 GB, free: 288 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.819e-05/0.6491, allocations: 67.41 kB / 1.038 GB, free: 220 kB / 0.7794 GB Notification: Performance of SimCode: time 7.12e-07/0.6491, allocations: 0 / 1.038 GB, free: 220 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01429/0.6634, allocations: 4.685 MB / 1.042 GB, free: 11.72 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/0.6636, allocations: 226.5 kB / 1.042 GB, free: 11.45 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/2.402, allocations: 2.812 kB / 1.042 GB, free: 11.45 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