Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.001758/0.001758, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002391/0.002391, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.533/1.533, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.821/2.821, allocations: 476.7 MB / 0.7715 GB, free: 4.277 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.RealExtractor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",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.002636/0.002636, allocations: 64.5 kB / 1.118 GB, free: 40.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3773, allocations: 170 MB / 1.284 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002924/0.3802, allocations: 1.35 MB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002322/0.3825, allocations: 1.587 MB / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.3827, allocations: 4 kB / 1.287 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.3828, allocations: 35.53 kB / 1.287 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.383, allocations: 75.44 kB / 1.287 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.3842, allocations: 0.5038 MB / 1.288 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008112/0.385, allocations: 0.6521 MB / 1.288 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000374/0.3854, allocations: 117.3 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003215/0.3857, allocations: 255.4 kB / 1.289 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003494/0.3861, allocations: 251.1 kB / 1.289 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.663e-05/0.3862, allocations: 64 kB / 1.289 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.3863, allocations: 79.98 kB / 1.289 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.3864, allocations: 79.7 kB / 1.289 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000314/0.3867, allocations: 247 kB / 1.289 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007825/0.3875, allocations: 0.6823 MB / 1.29 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3875, allocations: 4 kB / 1.29 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.963e-06/0.3875, allocations: 3.938 kB / 1.29 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.3875, allocations: 0 / 1.29 GB, free: 5.73 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001489/0.389, allocations: 0.8789 MB / 1.291 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.3891, allocations: 12.03 kB / 1.291 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.168e-05/0.3891, allocations: 4.688 kB / 1.291 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.124e-05/0.3892, allocations: 66.66 kB / 1.291 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.3893, allocations: 48.7 kB / 1.291 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.3906, allocations: 405.5 kB / 1.291 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.545e-05/0.3907, allocations: 32.86 kB / 1.291 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.203e-05/0.3908, allocations: 36.38 kB / 1.291 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006792/0.3915, allocations: 328.1 kB / 1.292 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3915, allocations: 0 / 1.292 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/0.3915, allocations: 12 kB / 1.292 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3915, allocations: 4 kB / 1.292 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007013/0.3922, allocations: 253.7 kB / 1.292 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.394, allocations: 0.8797 MB / 1.293 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006782/0.3947, allocations: 346.6 kB / 1.293 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005204/0.3952, allocations: 267.2 kB / 1.293 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.3952, allocations: 7.859 kB / 1.293 GB, free: 2 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006444/0.3959, allocations: 327 kB / 1.294 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=44): time 2.275e-06/0.3959, allocations: 0 / 1.294 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of matching and sorting (n=44): time 0.001757/0.3976, allocations: 0.8373 MB / 1.295 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/0.3978, allocations: 195.9 kB / 1.295 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003604/0.3981, allocations: 288.5 kB / 1.295 GB, free: 280 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.871e-05/0.3982, allocations: 41.7 kB / 1.295 GB, free: 232 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.3984, allocations: 161 kB / 1.295 GB, free: 68 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.3985, allocations: 143 kB / 1.295 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000263/0.3988, allocations: 130.1 kB / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.399, allocations: 350.5 kB / 1.296 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006505/0.3996, allocations: 280.7 kB / 1.296 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007563/0.4004, allocations: 361.4 kB / 1.296 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.4017, allocations: 0.909 MB / 1.297 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4017, allocations: 0 / 1.297 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001846/0.4036, allocations: 0.9978 MB / 1.298 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002043/0.4038, allocations: 263.3 kB / 1.299 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4038, allocations: 288 / 1.299 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.4038, allocations: 15.94 kB / 1.299 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.4041, allocations: 63.89 kB / 1.299 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.4041, allocations: 4 kB / 1.299 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008073/0.4049, allocations: 147.6 kB / 1.299 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.4051, allocations: 63.92 kB / 1.299 GB, free: 12.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0003534/0.4054, allocations: 323.8 kB / 1.299 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.772e-05/0.4055, allocations: 43.75 kB / 1.299 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.4056, allocations: 43.5 kB / 1.299 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.4056, allocations: 7.984 kB / 1.299 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.4056, allocations: 0 / 1.299 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.4056, allocations: 0 / 1.299 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002024/0.4076, allocations: 1.17 MB / 1.3 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.4076, allocations: 0 / 1.3 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.4079, allocations: 59.89 kB / 1.3 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.4079, allocations: 4 kB / 1.3 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.415e-05/0.4079, allocations: 15.94 kB / 1.3 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.4079, allocations: 4 kB / 1.3 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4079, allocations: 0 / 1.3 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.4092, allocations: 0.768 MB / 1.301 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.783e-05/0.4092, allocations: 39.7 kB / 1.301 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.291e-05/0.4093, allocations: 15.92 kB / 1.301 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.4095, allocations: 31.97 kB / 1.301 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.677e-05/0.4096, allocations: 35.94 kB / 1.301 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.976e-05/0.4097, allocations: 47.94 kB / 1.301 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002334/0.4099, allocations: 199.1 kB / 1.302 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.4099, allocations: 0 / 1.302 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005449/0.4105, allocations: 107.9 kB / 1.302 GB, free: 9.027 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.001665/0.4121, allocations: 1.322 MB / 1.303 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001661/0.4138, allocations: 1.047 MB / 1.304 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4138, allocations: 0 / 1.304 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006731/0.4145, allocations: 0.4896 MB / 1.304 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006381/0.4151, allocations: 87.05 kB / 1.305 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007758/0.4229, allocations: 4.671 MB / 1.309 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005853/0.4235, allocations: 0.7884 MB / 1.31 GB, free: 184 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003238/0.4238, allocations: 95.19 kB / 1.31 GB, free: 84 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002636/0.4241, allocations: 119.5 kB / 1.31 GB, free: 15.96 MB / 1.014 GB Notification: Performance of SimCode: time 2.535e-06/0.4241, allocations: 0 / 1.31 GB, free: 15.96 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03801/0.4621, allocations: 10.22 MB / 1.32 GB, free: 5.977 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.65, allocations: 13.38 kB / 1.32 GB, free: 5.969 MB / 1.014 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.347739488992374] Failed to read output from testmodel.py, exit status != 0: 13.28780931897927 12.846828321 12.454283876 Calling exit ...