Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 125 kB / 17.17 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 210.3 kB / 20.13 MB, free: 2.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.531/1.531, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.036/3.036, allocations: 0.49 GB / 0.7923 GB, free: 1.348 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002254/0.002254, allocations: 67.89 kB / 1.15 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054/1.057, allocations: 176.1 MB / 1.321 GB, free: 24.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002035/1.059, allocations: 1.011 MB / 1.322 GB, free: 24.12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001483/1.06, allocations: 1.368 MB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.366e-05/1.06, allocations: 6.125 kB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001161/1.06, allocations: 21.92 kB / 1.324 GB, free: 23.11 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.964e-05/1.061, allocations: 47.95 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006738/1.061, allocations: 272.1 kB / 1.324 GB, free: 22.93 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000322/1.062, allocations: 379 kB / 1.324 GB, free: 22.76 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/1.062, allocations: 52.47 kB / 1.325 GB, free: 22.73 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/1.062, allocations: 157.3 kB / 1.325 GB, free: 22.67 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/1.062, allocations: 132.4 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.012e-05/1.062, allocations: 35.34 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/1.062, allocations: 53.14 kB / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.923e-05/1.062, allocations: 65.19 kB / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001226/1.062, allocations: 137.1 kB / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00032/1.063, allocations: 399.7 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/1.063, allocations: 3.438 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.502e-06/1.063, allocations: 0 / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.833e-06/1.063, allocations: 0 / 1.325 GB, free: 22.34 MB / 1.061 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.0008722/1.064, allocations: 0.6248 MB / 1.326 GB, free: 21.79 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/1.064, allocations: 18.55 kB / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.938e-05/1.064, allocations: 6.578 kB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.236e-05/1.064, allocations: 47.41 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003374/1.064, allocations: 65.27 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008388/1.065, allocations: 375.7 kB / 1.327 GB, free: 21.45 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/1.065, allocations: 12 kB / 1.327 GB, free: 21.45 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.195e-05/1.065, allocations: 21.09 kB / 1.327 GB, free: 21.44 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004335/1.065, allocations: 207.3 kB / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/1.065, allocations: 2.875 kB / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/1.065, allocations: 11.45 kB / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/1.065, allocations: 2.781 kB / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005098/1.066, allocations: 142.2 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/1.067, allocations: 0.9038 MB / 1.328 GB, free: 20.55 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/1.067, allocations: 146 kB / 1.328 GB, free: 20.42 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/1.067, allocations: 82.8 kB / 1.328 GB, free: 20.37 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/1.067, allocations: 9.562 kB / 1.328 GB, free: 20.36 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004263/1.068, allocations: 167 kB / 1.328 GB, free: 20.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/1.068, allocations: 0.9062 kB / 1.328 GB, free: 20.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0009322/1.069, allocations: 264.1 kB / 1.328 GB, free: 20.16 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/1.069, allocations: 157.5 kB / 1.329 GB, free: 19.97 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/1.069, allocations: 216.7 kB / 1.329 GB, free: 19.84 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/1.069, allocations: 33.86 kB / 1.329 GB, free: 19.8 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/1.069, allocations: 157.5 kB / 1.329 GB, free: 19.67 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/1.069, allocations: 34.03 kB / 1.329 GB, free: 19.64 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/1.069, allocations: 60.91 kB / 1.329 GB, free: 19.61 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.562e-05/1.069, allocations: 333 kB / 1.329 GB, free: 19.29 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003772/1.07, allocations: 100.9 kB / 1.33 GB, free: 19.26 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004079/1.07, allocations: 174.2 kB / 1.33 GB, free: 19.14 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006319/1.071, allocations: 272.9 kB / 1.33 GB, free: 18.95 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/1.071, allocations: 4.688 kB / 1.33 GB, free: 18.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009196/1.072, allocations: 373.5 kB / 1.33 GB, free: 18.77 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.727e-05/1.072, allocations: 67.58 kB / 1.33 GB, free: 18.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/1.072, allocations: 6.094 kB / 1.33 GB, free: 18.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/1.072, allocations: 3.031 kB / 1.33 GB, free: 18.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/1.072, allocations: 26.05 kB / 1.33 GB, free: 18.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/1.072, allocations: 3.734 kB / 1.33 GB, free: 18.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004483/1.073, allocations: 75.05 kB / 1.33 GB, free: 18.69 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-05/1.073, allocations: 17.39 kB / 1.331 GB, free: 18.69 MB / 1.061 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.0001342/1.073, allocations: 153.2 kB / 1.331 GB, free: 18.56 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/1.073, allocations: 16.91 kB / 1.331 GB, free: 18.55 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.967e-05/1.073, allocations: 22.62 kB / 1.331 GB, free: 18.53 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/1.073, allocations: 6.406 kB / 1.331 GB, free: 18.53 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/1.073, allocations: 1.859 kB / 1.331 GB, free: 18.53 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/1.073, allocations: 3.078 kB / 1.331 GB, free: 18.53 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/1.073, allocations: 267.5 kB / 1.331 GB, free: 18.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/1.073, allocations: 1.938 kB / 1.331 GB, free: 18.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/1.073, allocations: 27.77 kB / 1.331 GB, free: 18.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/1.073, allocations: 2.672 kB / 1.331 GB, free: 18.29 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/1.073, allocations: 7.75 kB / 1.331 GB, free: 18.28 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/1.073, allocations: 2.078 kB / 1.331 GB, free: 18.28 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.073, allocations: 1.188 kB / 1.331 GB, free: 18.28 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005831/1.074, allocations: 238.9 kB / 1.331 GB, free: 18.14 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.864e-05/1.074, allocations: 99.95 kB / 1.331 GB, free: 18.03 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/1.074, allocations: 11.89 kB / 1.331 GB, free: 18.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/1.074, allocations: 16.78 kB / 1.331 GB, free: 18.02 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/1.074, allocations: 18.86 kB / 1.331 GB, free: 18.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/1.074, allocations: 4.703 kB / 1.331 GB, free: 18.02 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001268/1.074, allocations: 162 kB / 1.332 GB, free: 17.92 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.074, allocations: 1.156 kB / 1.332 GB, free: 17.92 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003114/1.075, allocations: 52.59 kB / 1.332 GB, free: 17.91 MB / 1.061 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.0008/1.075, allocations: 0.7826 MB / 1.332 GB, free: 17.23 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007635/1.076, allocations: 310.8 kB / 1.333 GB, free: 17.06 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.076, allocations: 1 kB / 1.333 GB, free: 17.06 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002819/1.076, allocations: 73.97 kB / 1.333 GB, free: 17.04 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/1.077, allocations: 51.81 kB / 1.333 GB, free: 17.02 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003786/1.081, allocations: 2.58 MB / 1.335 GB, free: 15.2 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/1.081, allocations: 0.741 MB / 1.336 GB, free: 14.51 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.00015/1.081, allocations: 36.64 kB / 1.336 GB, free: 14.5 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.814e-05/1.081, allocations: 69.05 kB / 1.336 GB, free: 14.45 MB / 1.061 GB Notification: Performance of SimCode: time 6.71e-07/1.081, allocations: 0 / 1.336 GB, free: 14.45 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02563/1.107, allocations: 5.288 MB / 1.341 GB, free: 13.8 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.64/9.747, allocations: 4.891 kB / 1.341 GB, free: 13.8 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.433416715997737] Failed to read output from testmodel.py, exit status != 0: 9.876139213040005 9.888027039 8.822842789 Calling exit ...