Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001726/0.001726, 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.002064/0.002064, 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.649/1.649, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.003/3.003, allocations: 0.5003 GB / 0.8026 GB, free: 6.691 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.RealExtractor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_latest_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.002002/0.002002, allocations: 67.91 kB / 1.165 GB, free: 484 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.015, allocations: 178.9 MB / 1.34 GB, free: 16.22 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002436/1.018, allocations: 1.347 MB / 1.341 GB, free: 15.31 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001772/1.019, allocations: 1.589 MB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/1.019, allocations: 3.562 kB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001383/1.02, allocations: 34.12 kB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001373/1.02, allocations: 79.67 kB / 1.343 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001128/1.021, allocations: 0.4889 MB / 1.344 GB, free: 13.81 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005915/1.021, allocations: 0.6497 MB / 1.344 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002479/1.022, allocations: 132 kB / 1.344 GB, free: 13.43 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/1.022, allocations: 252.2 kB / 1.345 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002933/1.022, allocations: 251.3 kB / 1.345 GB, free: 13.2 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.549e-05/1.022, allocations: 64.75 kB / 1.345 GB, free: 13.2 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/1.023, allocations: 74.48 kB / 1.345 GB, free: 13.2 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.526e-05/1.023, allocations: 84.92 kB / 1.345 GB, free: 13.15 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002191/1.023, allocations: 245.2 kB / 1.345 GB, free: 13 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007409/1.024, allocations: 0.6842 MB / 1.346 GB, free: 12.75 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/1.024, allocations: 0.6562 kB / 1.346 GB, free: 12.75 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.533e-06/1.024, allocations: 5.719 kB / 1.346 GB, free: 12.74 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.025e-06/1.024, allocations: 0 / 1.346 GB, free: 12.74 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001191/1.025, allocations: 0.9431 MB / 1.347 GB, free: 11.91 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/1.025, allocations: 10.38 kB / 1.347 GB, free: 11.91 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.903e-05/1.025, allocations: 10.19 kB / 1.347 GB, free: 11.9 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.602e-05/1.025, allocations: 62.38 kB / 1.347 GB, free: 11.85 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/1.025, allocations: 58.12 kB / 1.347 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/1.026, allocations: 478.9 kB / 1.347 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.604e-05/1.026, allocations: 28.5 kB / 1.347 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.53e-05/1.026, allocations: 47.81 kB / 1.348 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006845/1.027, allocations: 323.2 kB / 1.348 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/1.027, allocations: 3.938 kB / 1.348 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/1.027, allocations: 13.59 kB / 1.348 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/1.027, allocations: 4.844 kB / 1.348 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006958/1.028, allocations: 256.7 kB / 1.348 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/1.029, allocations: 0.9059 MB / 1.349 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006568/1.03, allocations: 347 kB / 1.349 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004948/1.031, allocations: 266.7 kB / 1.35 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/1.031, allocations: 3.312 kB / 1.35 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000581/1.031, allocations: 325.7 kB / 1.35 GB, free: 10.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=44): time 2.384e-06/1.031, allocations: 1.156 kB / 1.35 GB, free: 10.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=44): time 0.001646/1.033, allocations: 0.839 MB / 1.351 GB, free: 10.13 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/1.033, allocations: 192.8 kB / 1.351 GB, free: 9.906 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002995/1.033, allocations: 287.6 kB / 1.351 GB, free: 9.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.188e-05/1.033, allocations: 40.3 kB / 1.351 GB, free: 9.715 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/1.033, allocations: 169.9 kB / 1.351 GB, free: 9.574 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.605e-05/1.033, allocations: 136.2 kB / 1.352 GB, free: 9.469 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002514/1.034, allocations: 144.1 kB / 1.352 GB, free: 9.41 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.514e-05/1.034, allocations: 352 kB / 1.352 GB, free: 9.078 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006543/1.034, allocations: 272.6 kB / 1.352 GB, free: 9.008 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006731/1.035, allocations: 361.3 kB / 1.353 GB, free: 8.832 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/1.036, allocations: 0.907 MB / 1.353 GB, free: 8.148 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.036, allocations: 2.281 kB / 1.353 GB, free: 8.148 MB / 1.061 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001618/1.038, allocations: 1.004 MB / 1.354 GB, free: 7.613 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.31e-05/1.038, allocations: 258.5 kB / 1.355 GB, free: 7.328 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/1.038, allocations: 2.188 kB / 1.355 GB, free: 7.328 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/1.038, allocations: 5.188 kB / 1.355 GB, free: 7.328 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/1.038, allocations: 66.41 kB / 1.355 GB, free: 7.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/1.038, allocations: 5.484 kB / 1.355 GB, free: 7.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008212/1.039, allocations: 143 kB / 1.355 GB, free: 7.293 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/1.039, allocations: 69.02 kB / 1.355 GB, free: 7.285 MB / 1.061 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.0002843/1.04, allocations: 320.1 kB / 1.355 GB, free: 6.977 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.654e-05/1.04, allocations: 43.06 kB / 1.355 GB, free: 6.953 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.32e-05/1.04, allocations: 38.19 kB / 1.355 GB, free: 6.922 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/1.04, allocations: 5.062 kB / 1.355 GB, free: 6.922 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/1.04, allocations: 0.7031 kB / 1.355 GB, free: 6.922 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/1.04, allocations: 7.156 kB / 1.355 GB, free: 6.918 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/1.042, allocations: 1.198 MB / 1.357 GB, free: 6.207 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.042, allocations: 0.6562 kB / 1.357 GB, free: 6.207 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/1.042, allocations: 66.64 kB / 1.357 GB, free: 6.199 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/1.042, allocations: 5.156 kB / 1.357 GB, free: 6.195 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.458e-05/1.042, allocations: 13.44 kB / 1.357 GB, free: 6.191 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.708e-06/1.042, allocations: 5.188 kB / 1.357 GB, free: 6.188 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/1.042, allocations: 5.094 kB / 1.357 GB, free: 6.184 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/1.043, allocations: 0.7677 MB / 1.357 GB, free: 5.746 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.61e-05/1.043, allocations: 112.3 kB / 1.357 GB, free: 5.629 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/1.043, allocations: 9.812 kB / 1.358 GB, free: 5.625 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/1.044, allocations: 33.22 kB / 1.358 GB, free: 5.613 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/1.044, allocations: 38.94 kB / 1.358 GB, free: 5.602 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.341e-05/1.044, allocations: 48.69 kB / 1.358 GB, free: 5.598 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002266/1.044, allocations: 205.4 kB / 1.358 GB, free: 5.48 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/1.044, allocations: 0 / 1.358 GB, free: 5.48 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000539/1.045, allocations: 111.9 kB / 1.358 GB, free: 5.461 MB / 1.061 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.001313/1.046, allocations: 1.315 MB / 1.359 GB, free: 4.496 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001529/1.047, allocations: 1.05 MB / 1.36 GB, free: 3.77 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.047, allocations: 0 / 1.36 GB, free: 3.77 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005834/1.048, allocations: 496.9 kB / 1.361 GB, free: 3.402 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005987/1.049, allocations: 91.52 kB / 1.361 GB, free: 3.363 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006839/1.055, allocations: 4.669 MB / 1.365 GB, free: 0.707 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/1.056, allocations: 0.7964 MB / 1.366 GB, free: 4 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003/1.056, allocations: 92.06 kB / 1.366 GB, free: 15.99 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/1.056, allocations: 113.6 kB / 1.366 GB, free: 15.91 MB / 1.076 GB Notification: Performance of SimCode: time 6.21e-07/1.056, allocations: 1.312 kB / 1.366 GB, free: 15.91 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03258/1.089, allocations: 9.904 MB / 1.376 GB, free: 14.95 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.076/10.17, allocations: 15.03 kB / 1.376 GB, free: 14.94 MB / 1.076 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.834904796036426] Failed to read output from testmodel.py, exit status != 0: 10.30344516900368 10.325975719 9.298271074 Calling exit ...