Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001766/0.001766, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002311/0.002311, allocations: 216.1 kB / 23.03 MB, free: 4.922 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.783/2.783, allocations: 476.8 MB / 0.7715 GB, free: 3.875 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_11_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.001983/0.001983, allocations: 64.41 kB / 1.118 GB, free: 39.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3296, allocations: 170 MB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.003177/0.3328, allocations: 0.9519 MB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002577/0.3354, allocations: 1.351 MB / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.3355, allocations: 0 / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001839/0.3357, allocations: 19.73 kB / 1.286 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.3359, allocations: 43.66 kB / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.3371, allocations: 283.4 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007648/0.3379, allocations: 387.3 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002399/0.3381, allocations: 45.78 kB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000408/0.3385, allocations: 155.6 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003935/0.3389, allocations: 135.5 kB / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.3391, allocations: 36 kB / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.3393, allocations: 51.92 kB / 1.287 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.3394, allocations: 55.83 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002376/0.3396, allocations: 123.5 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007072/0.3403, allocations: 407.8 kB / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3403, allocations: 0 / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.374e-06/0.3403, allocations: 0 / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.198e-05/0.3404, allocations: 0 / 1.288 GB, free: 6.625 MB / 0.9825 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.001551/0.3419, allocations: 0.5433 MB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.342, allocations: 8.031 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.951e-05/0.342, allocations: 4.188 kB / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.228e-05/0.3421, allocations: 50.73 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004287/0.3425, allocations: 64.72 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009648/0.3435, allocations: 313.1 kB / 1.289 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.3435, allocations: 20.38 kB / 1.289 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.406e-05/0.3435, allocations: 24.38 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004955/0.344, allocations: 207.2 kB / 1.289 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.3441, allocations: 0 / 1.289 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.3441, allocations: 15.88 kB / 1.289 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.3441, allocations: 4 kB / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005027/0.3446, allocations: 139.8 kB / 1.289 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.346, allocations: 0.8281 MB / 1.29 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.3464, allocations: 145 kB / 1.29 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002529/0.3467, allocations: 84.23 kB / 1.29 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.3467, allocations: 0 / 1.29 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000469/0.3472, allocations: 171.5 kB / 1.291 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.3472, allocations: 0 / 1.291 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0009002/0.3481, allocations: 261.5 kB / 1.291 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.3482, allocations: 158.2 kB / 1.291 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.3484, allocations: 224.9 kB / 1.291 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.301e-05/0.3485, allocations: 29.7 kB / 1.291 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.3486, allocations: 164.3 kB / 1.291 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.3487, allocations: 23.81 kB / 1.291 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.3488, allocations: 53.69 kB / 1.291 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.349, allocations: 338.8 kB / 1.292 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003798/0.3493, allocations: 163.4 kB / 1.292 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004512/0.3498, allocations: 288.2 kB / 1.292 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006083/0.3504, allocations: 266.9 kB / 1.292 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3504, allocations: 0 / 1.292 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009333/0.3513, allocations: 448 kB / 1.293 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.669e-05/0.3514, allocations: 67.39 kB / 1.293 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.3514, allocations: 0 / 1.293 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.3514, allocations: 4 kB / 1.293 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.3516, allocations: 36.12 kB / 1.293 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.3516, allocations: 7.938 kB / 1.293 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003965/0.352, allocations: 71.81 kB / 1.293 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/0.352, allocations: 15.98 kB / 1.293 GB, free: 0.9883 MB / 0.9825 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.0001765/0.3522, allocations: 155.1 kB / 1.293 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.3523, allocations: 24.31 kB / 1.293 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.807e-05/0.3523, allocations: 25.33 kB / 1.293 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.3523, allocations: 0 / 1.293 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.3523, allocations: 4 kB / 1.293 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3523, allocations: 3.984 kB / 1.293 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.3526, allocations: 216.6 kB / 1.293 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.3526, allocations: 4 kB / 1.293 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.3527, allocations: 23.97 kB / 1.293 GB, free: 496 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3527, allocations: 0 / 1.293 GB, free: 496 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.3528, allocations: 12 kB / 1.293 GB, free: 484 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3528, allocations: 0 / 1.293 GB, free: 484 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.3528, allocations: 7.938 kB / 1.294 GB, free: 476 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005567/0.3533, allocations: 236.2 kB / 1.294 GB, free: 208 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.096e-05/0.3534, allocations: 31.73 kB / 1.294 GB, free: 176 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.3534, allocations: 7.984 kB / 1.294 GB, free: 168 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.3535, allocations: 15.98 kB / 1.294 GB, free: 152 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.164e-05/0.3536, allocations: 19.91 kB / 1.294 GB, free: 132 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.3536, allocations: 8 kB / 1.294 GB, free: 124 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001748/0.3538, allocations: 160.5 kB / 1.294 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3538, allocations: 0 / 1.294 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003315/0.3541, allocations: 51.89 kB / 1.294 GB, free: 15.91 MB / 0.9981 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.0009511/0.355, allocations: 0.7796 MB / 1.295 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007949/0.3558, allocations: 378 kB / 1.295 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3558, allocations: 0 / 1.295 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002721/0.3561, allocations: 75.75 kB / 1.295 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.3565, allocations: 52.91 kB / 1.295 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004279/0.3608, allocations: 2.826 MB / 1.298 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.3609, allocations: 140.8 kB / 1.298 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001296/0.361, allocations: 37.61 kB / 1.298 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.3611, allocations: 63.42 kB / 1.298 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/0.3611, allocations: 0 / 1.298 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/0.3899, allocations: 5.703 MB / 1.304 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.3, allocations: 13.41 kB / 1.304 GB, free: 5.789 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.951962225022726] Failed to read output from testmodel.py, exit status != 0: 12.991946162073873 12.491956834 12.147040764 Calling exit ...