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.001358/0.001358, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001505/0.001505, allocations: 220 kB / 23.03 MB, free: 4.941 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.775/2.775, allocations: 476.8 MB / 0.7715 GB, free: 3.906 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.001993/0.001993, allocations: 64.41 kB / 1.118 GB, free: 39.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2979, allocations: 170 MB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002838/0.3007, allocations: 1.242 MB / 1.285 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00289/0.3036, allocations: 1.552 MB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002509/0.3039, allocations: 8 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002022/0.3041, allocations: 35.55 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000272/0.3044, allocations: 79.36 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.3058, allocations: 0.4959 MB / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001094/0.3069, allocations: 0.6521 MB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003713/0.3073, allocations: 117.3 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004426/0.3078, allocations: 255.4 kB / 1.288 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004927/0.3082, allocations: 251.1 kB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002008/0.3084, allocations: 64 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001921/0.3086, allocations: 79.98 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.3088, allocations: 83.69 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002879/0.3091, allocations: 215.2 kB / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008623/0.3099, allocations: 0.6825 MB / 1.29 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3099, allocations: 0 / 1.29 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.033e-06/0.3099, allocations: 7.938 kB / 1.29 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.805e-05/0.3099, allocations: 4 kB / 1.29 GB, free: 4.871 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.001695/0.3116, allocations: 0.875 MB / 1.291 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.3117, allocations: 8.031 kB / 1.291 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.064e-05/0.3117, allocations: 12.62 kB / 1.291 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.999e-05/0.3118, allocations: 62.72 kB / 1.291 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.312, allocations: 48.7 kB / 1.291 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.3134, allocations: 405.5 kB / 1.291 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.541e-05/0.3134, allocations: 28.86 kB / 1.291 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.792e-05/0.3135, allocations: 40.38 kB / 1.291 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000782/0.3143, allocations: 464.5 kB / 1.292 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/0.3143, allocations: 3.984 kB / 1.292 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.3144, allocations: 12 kB / 1.292 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.3144, allocations: 4 kB / 1.292 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007533/0.3151, allocations: 390.3 kB / 1.292 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.3169, allocations: 0.7823 MB / 1.293 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007653/0.3176, allocations: 483.7 kB / 1.293 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005987/0.3182, allocations: 397.1 kB / 1.294 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.3183, allocations: 3.859 kB / 1.294 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006939/0.319, allocations: 459.5 kB / 1.294 GB, free: 96 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=44): time 2.965e-06/0.319, allocations: 0 / 1.294 GB, free: 96 kB / 0.9825 GB Notification: Performance of matching and sorting (n=44): time 0.002036/0.321, allocations: 1.104 MB / 1.295 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000252/0.3212, allocations: 199.8 kB / 1.295 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003776/0.3216, allocations: 284.5 kB / 1.296 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.323e-05/0.3217, allocations: 45.7 kB / 1.296 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003252/0.322, allocations: 172.9 kB / 1.296 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.3222, allocations: 130.9 kB / 1.296 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002692/0.3225, allocations: 138.1 kB / 1.296 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002584/0.3227, allocations: 350.7 kB / 1.296 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008966/0.3236, allocations: 0.5274 MB / 1.297 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008811/0.3245, allocations: 0.6062 MB / 1.298 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/0.3258, allocations: 0.909 MB / 1.298 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.3258, allocations: 4 kB / 1.298 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002142/0.328, allocations: 1.263 MB / 1.3 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002028/0.3282, allocations: 259.3 kB / 1.3 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.3282, allocations: 4.281 kB / 1.3 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.3282, allocations: 8 kB / 1.3 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.3285, allocations: 63.89 kB / 1.3 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.3285, allocations: 7.984 kB / 1.3 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007505/0.3293, allocations: 143.6 kB / 1.3 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/0.3294, allocations: 75.8 kB / 1.3 GB, free: 9.242 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.0003282/0.3297, allocations: 322.1 kB / 1.3 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.038e-05/0.3298, allocations: 39.77 kB / 1.301 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.906e-05/0.3299, allocations: 43.48 kB / 1.301 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.3299, allocations: 4 kB / 1.301 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.3299, allocations: 0 / 1.301 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.974e-06/0.3299, allocations: 3.984 kB / 1.301 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001994/0.3319, allocations: 1.26 MB / 1.302 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3319, allocations: 0 / 1.302 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.3322, allocations: 67.89 kB / 1.302 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.3322, allocations: 0 / 1.302 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/0.3322, allocations: 15.98 kB / 1.302 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.998e-05/0.3322, allocations: 3.938 kB / 1.302 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3322, allocations: 0 / 1.302 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/0.3337, allocations: 0.913 MB / 1.303 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.381e-05/0.3338, allocations: 39.62 kB / 1.303 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.156e-05/0.3338, allocations: 8 kB / 1.303 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.3341, allocations: 35.91 kB / 1.303 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.163e-05/0.3341, allocations: 35.94 kB / 1.303 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.749e-05/0.3342, allocations: 51.94 kB / 1.303 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002142/0.3344, allocations: 203.1 kB / 1.303 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3344, allocations: 0 / 1.303 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004626/0.3349, allocations: 103.9 kB / 1.303 GB, free: 5.875 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.001853/0.3368, allocations: 1.465 MB / 1.305 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002092/0.3388, allocations: 1.438 MB / 1.306 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3388, allocations: 0 / 1.306 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007245/0.3396, allocations: 0.6224 MB / 1.307 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005762/0.3401, allocations: 90.5 kB / 1.307 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008274/0.3484, allocations: 5.841 MB / 1.312 GB, free: 11.61 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.3486, allocations: 189 kB / 1.313 GB, free: 11.39 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002427/0.3489, allocations: 91.2 kB / 1.313 GB, free: 11.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.349, allocations: 115.4 kB / 1.313 GB, free: 11.19 MB / 1.014 GB Notification: Performance of SimCode: time 7.11e-07/0.349, allocations: 0 / 1.313 GB, free: 11.19 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03913/0.3882, allocations: 10.73 MB / 1.323 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.77, allocations: 20.91 kB / 1.323 GB, free: 0.7852 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.404150451999158] Failed to read output from testmodel.py, exit status != 0: 13.466589553048834 12.958968378 12.643950137 Calling exit ...