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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001138/0.001138, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001293/0.001293, allocations: 195.3 kB / 16.25 MB, free: 6.629 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.276/1.276, allocations: 222.9 MB / 239.9 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.478/2.478, allocations: 437 MB / 0.7101 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 59.91 kB / 0.8689 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5875/0.5888, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002293/0.5912, allocations: 1.074 MB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001671/0.5929, allocations: 1.327 MB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.593, allocations: 7.938 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.5932, allocations: 15.86 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.5933, allocations: 27.78 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007593/0.594, allocations: 246.4 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0004597/0.5945, allocations: 399.5 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.5947, allocations: 65.64 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002409/0.595, allocations: 163.6 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002951/0.5953, allocations: 151.5 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.827e-05/0.5953, allocations: 40 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.5954, allocations: 47.98 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.886e-05/0.5955, allocations: 51.84 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.5957, allocations: 135.4 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003589/0.596, allocations: 389 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5961, allocations: 3.938 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5961, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.5961, allocations: 0 / 1.021 GB, free: 14.64 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.0008837/0.597, allocations: 0.6109 MB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.597, allocations: 8.031 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.467e-05/0.5971, allocations: 46.73 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.387e-05/0.5971, allocations: 28.66 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008787/0.598, allocations: 374.8 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.5981, allocations: 12.38 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.44e-05/0.5981, allocations: 20.38 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004338/0.5986, allocations: 202.2 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.5986, allocations: 11.86 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.5986, allocations: 8 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.5986, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004499/0.5991, allocations: 147.8 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.6001, allocations: 0.907 MB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.6004, allocations: 153 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/0.6007, allocations: 80.23 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.6007, allocations: 4 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003824/0.6011, allocations: 163.5 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.683e-06/0.6011, allocations: 0 / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0008097/0.6019, allocations: 253.3 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/0.602, allocations: 162.2 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.6022, allocations: 225.2 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.6022, allocations: 33.7 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.972e-05/0.6023, allocations: 152.2 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.6024, allocations: 31.62 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.933e-05/0.6025, allocations: 49.69 kB / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.975e-05/0.6026, allocations: 338.8 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.6029, allocations: 95.92 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003187/0.6032, allocations: 155.6 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005423/0.6038, allocations: 278.9 kB / 1.025 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.6038, allocations: 0 / 1.025 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008096/0.6046, allocations: 376.6 kB / 1.026 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.896e-05/0.6047, allocations: 75.33 kB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.6047, allocations: 0 / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.6047, allocations: 4 kB / 1.026 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.6049, allocations: 23.97 kB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.6049, allocations: 4 kB / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003759/0.6053, allocations: 67.92 kB / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/0.6053, allocations: 27.86 kB / 1.026 GB, free: 9.125 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.0001357/0.6054, allocations: 154.2 kB / 1.026 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.6055, allocations: 23.72 kB / 1.026 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.384e-05/0.6055, allocations: 21.23 kB / 1.026 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.6055, allocations: 8 kB / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6055, allocations: 0 / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.6056, allocations: 4 kB / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.6058, allocations: 253.5 kB / 1.026 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.6058, allocations: 0 / 1.026 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.6059, allocations: 23.97 kB / 1.026 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.6059, allocations: 4 kB / 1.026 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.6059, allocations: 4 kB / 1.026 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.606, allocations: 7.938 kB / 1.026 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.606, allocations: 0 / 1.026 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000517/0.6065, allocations: 240.1 kB / 1.027 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.167e-05/0.6065, allocations: 96.86 kB / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.6066, allocations: 7.984 kB / 1.027 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.6067, allocations: 19.92 kB / 1.027 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/0.6068, allocations: 20.38 kB / 1.027 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.6068, allocations: 7.938 kB / 1.027 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001231/0.6069, allocations: 168.5 kB / 1.027 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6069, allocations: 0 / 1.027 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002817/0.6072, allocations: 47.91 kB / 1.027 GB, free: 7.926 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.0007992/0.608, allocations: 0.7795 MB / 1.028 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006917/0.6087, allocations: 338.5 kB / 1.028 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.6087, allocations: 4 kB / 1.028 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002628/0.609, allocations: 84.44 kB / 1.028 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.6093, allocations: 50.39 kB / 1.028 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003582/0.6129, allocations: 2.617 MB / 1.031 GB, free: 3.832 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.6133, allocations: 0.7553 MB / 1.031 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001347/0.6134, allocations: 33.52 kB / 1.031 GB, free: 3.016 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.2e-05/0.6135, allocations: 63.42 kB / 1.032 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6135, allocations: 0 / 1.032 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03778/0.6513, allocations: 4.905 MB / 1.036 GB, free: 14.23 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/0.6515, allocations: 219.3 kB / 1.037 GB, free: 13.98 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/2.438, allocations: 2.672 kB / 1.037 GB, free: 13.98 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