Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001583/0.001583, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001928/0.001928, allocations: 215 kB / 20.13 MB, free: 2.949 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.572/1.572, allocations: 230.6 MB / 253.5 MB, free: 15.13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.064/3.064, allocations: 0.5003 GB / 0.8026 GB, free: 6.742 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_latest_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.002252/0.002252, allocations: 67.91 kB / 1.165 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.141/1.143, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.00216/1.145, allocations: 1.024 MB / 1.341 GB, free: 15.61 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001751/1.147, allocations: 1.366 MB / 1.342 GB, free: 14.62 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.382e-05/1.147, allocations: 1.5 kB / 1.342 GB, free: 14.62 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00014/1.147, allocations: 20.7 kB / 1.342 GB, free: 14.6 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001081/1.147, allocations: 47.61 kB / 1.343 GB, free: 14.57 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008924/1.148, allocations: 271.4 kB / 1.343 GB, free: 14.43 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005048/1.149, allocations: 384.6 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/1.149, allocations: 47.94 kB / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/1.149, allocations: 160.8 kB / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/1.149, allocations: 135.2 kB / 1.343 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.877e-05/1.149, allocations: 33.84 kB / 1.344 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/1.15, allocations: 58.17 kB / 1.344 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.39e-05/1.15, allocations: 56.53 kB / 1.344 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000149/1.15, allocations: 140.6 kB / 1.344 GB, free: 13.97 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005552/1.15, allocations: 406.7 kB / 1.344 GB, free: 13.82 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/1.15, allocations: 0 / 1.344 GB, free: 13.82 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/1.15, allocations: 0 / 1.344 GB, free: 13.82 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.135e-06/1.15, allocations: 0 / 1.344 GB, free: 13.82 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.001022/1.151, allocations: 0.6232 MB / 1.345 GB, free: 13.28 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/1.152, allocations: 9.219 kB / 1.345 GB, free: 13.28 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.277e-05/1.152, allocations: 4.391 kB / 1.345 GB, free: 13.28 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.639e-05/1.152, allocations: 46.48 kB / 1.345 GB, free: 13.23 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005027/1.152, allocations: 68.34 kB / 1.345 GB, free: 13.21 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/1.153, allocations: 374.1 kB / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/1.153, allocations: 14.53 kB / 1.345 GB, free: 12.94 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.837e-05/1.153, allocations: 20.28 kB / 1.345 GB, free: 12.94 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004806/1.154, allocations: 211.6 kB / 1.345 GB, free: 12.82 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/1.154, allocations: 2.141 kB / 1.345 GB, free: 12.82 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/1.154, allocations: 5.375 kB / 1.345 GB, free: 12.81 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/1.154, allocations: 4.438 kB / 1.345 GB, free: 12.81 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005857/1.154, allocations: 142.6 kB / 1.346 GB, free: 12.78 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/1.155, allocations: 0.9052 MB / 1.347 GB, free: 12.05 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/1.156, allocations: 146 kB / 1.347 GB, free: 11.91 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/1.156, allocations: 84.08 kB / 1.347 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/1.156, allocations: 6.016 kB / 1.347 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00047/1.157, allocations: 165.1 kB / 1.347 GB, free: 11.75 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.442e-06/1.157, allocations: 0 / 1.347 GB, free: 11.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0009957/1.158, allocations: 258.9 kB / 1.347 GB, free: 11.66 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.394e-05/1.158, allocations: 158.1 kB / 1.347 GB, free: 11.48 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/1.158, allocations: 221.7 kB / 1.347 GB, free: 11.34 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/1.158, allocations: 30.98 kB / 1.348 GB, free: 11.31 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/1.158, allocations: 165.1 kB / 1.348 GB, free: 11.16 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/1.158, allocations: 34.61 kB / 1.348 GB, free: 11.14 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/1.158, allocations: 52.25 kB / 1.348 GB, free: 11.11 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.046e-05/1.158, allocations: 337.1 kB / 1.348 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003584/1.159, allocations: 99.72 kB / 1.348 GB, free: 10.76 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003637/1.159, allocations: 175.1 kB / 1.348 GB, free: 10.64 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006017/1.16, allocations: 272.4 kB / 1.349 GB, free: 10.45 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.16, allocations: 1.125 kB / 1.349 GB, free: 10.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009438/1.161, allocations: 377.2 kB / 1.349 GB, free: 10.27 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.812e-05/1.161, allocations: 67.56 kB / 1.349 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/1.161, allocations: 2.719 kB / 1.349 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/1.161, allocations: 2.469 kB / 1.349 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/1.161, allocations: 29.62 kB / 1.349 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/1.161, allocations: 8.547 kB / 1.349 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004493/1.161, allocations: 74.83 kB / 1.349 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.741e-05/1.161, allocations: 13.55 kB / 1.349 GB, free: 10.19 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.000131/1.161, allocations: 150.5 kB / 1.349 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.389e-05/1.161, allocations: 25.55 kB / 1.349 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.736e-05/1.162, allocations: 17.86 kB / 1.349 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/1.162, allocations: 2.312 kB / 1.349 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/1.162, allocations: 3.469 kB / 1.349 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/1.162, allocations: 6.328 kB / 1.349 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/1.162, allocations: 263.6 kB / 1.35 GB, free: 9.793 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/1.162, allocations: 5.281 kB / 1.35 GB, free: 9.789 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/1.162, allocations: 29.08 kB / 1.35 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/1.162, allocations: 1.156 kB / 1.35 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/1.162, allocations: 3.922 kB / 1.35 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/1.162, allocations: 1.719 kB / 1.35 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.162, allocations: 2.625 kB / 1.35 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006133/1.163, allocations: 249.9 kB / 1.35 GB, free: 9.633 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/1.163, allocations: 100.8 kB / 1.35 GB, free: 9.523 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/1.163, allocations: 3.234 kB / 1.35 GB, free: 9.523 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/1.163, allocations: 16.53 kB / 1.35 GB, free: 9.523 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.821e-05/1.163, allocations: 18.69 kB / 1.35 GB, free: 9.516 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/1.163, allocations: 9.703 kB / 1.35 GB, free: 9.512 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001388/1.163, allocations: 157.3 kB / 1.35 GB, free: 9.418 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.163, allocations: 5.281 kB / 1.35 GB, free: 9.414 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003301/1.163, allocations: 52.69 kB / 1.35 GB, free: 9.402 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.0008956/1.164, allocations: 0.7748 MB / 1.351 GB, free: 8.734 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008346/1.165, allocations: 318.9 kB / 1.351 GB, free: 8.551 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/1.165, allocations: 0 / 1.351 GB, free: 8.551 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003064/1.165, allocations: 72.56 kB / 1.351 GB, free: 8.539 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/1.166, allocations: 53.25 kB / 1.351 GB, free: 8.516 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003918/1.17, allocations: 2.576 MB / 1.354 GB, free: 6.715 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/1.17, allocations: 0.7444 MB / 1.355 GB, free: 6.016 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001351/1.17, allocations: 37.34 kB / 1.355 GB, free: 6.008 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.604e-05/1.17, allocations: 64.41 kB / 1.355 GB, free: 5.961 MB / 1.061 GB Notification: Performance of SimCode: time 1.132e-06/1.17, allocations: 0 / 1.355 GB, free: 5.961 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03577/1.206, allocations: 5.309 MB / 1.36 GB, free: 5.32 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.735/9.941, allocations: 2.312 kB / 1.36 GB, free: 5.32 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.855932796024717] Failed to read output from testmodel.py, exit status != 0: 10.069648823002353 10.084859728 8.931009866 Calling exit ...