Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001305/0.001305, allocations: 115.9 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.001397/0.001397, 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.581/1.581, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.023/3.023, allocations: 0.49 GB / 0.7923 GB, free: 1.277 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_12_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.002199/0.002199, allocations: 75.89 kB / 1.15 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9994/1.002, allocations: 176.1 MB / 1.321 GB, free: 7.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002808/1.004, allocations: 1.347 MB / 1.323 GB, free: 6.461 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002421/1.007, allocations: 1.595 MB / 1.324 GB, free: 5.168 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/1.007, allocations: 7.281 kB / 1.324 GB, free: 5.164 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001705/1.007, allocations: 32.78 kB / 1.324 GB, free: 5.133 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001769/1.007, allocations: 74.12 kB / 1.324 GB, free: 5.07 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001323/1.009, allocations: 0.4907 MB / 1.325 GB, free: 4.723 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007766/1.009, allocations: 0.6553 MB / 1.326 GB, free: 4.324 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002953/1.01, allocations: 129 kB / 1.326 GB, free: 4.242 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00032/1.01, allocations: 254.5 kB / 1.326 GB, free: 4.094 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003338/1.01, allocations: 252.3 kB / 1.326 GB, free: 3.906 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.387e-05/1.011, allocations: 64.47 kB / 1.326 GB, free: 3.906 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/1.011, allocations: 75.89 kB / 1.326 GB, free: 3.902 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001034/1.011, allocations: 83.89 kB / 1.326 GB, free: 3.84 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002779/1.011, allocations: 245 kB / 1.327 GB, free: 3.66 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0008749/1.012, allocations: 0.6865 MB / 1.327 GB, free: 3.113 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/1.012, allocations: 0 / 1.327 GB, free: 3.113 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.633e-06/1.012, allocations: 0 / 1.327 GB, free: 3.113 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.828e-05/1.012, allocations: 1.219 kB / 1.327 GB, free: 3.113 MB / 1.014 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.001476/1.013, allocations: 0.9479 MB / 1.328 GB, free: 2.211 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/1.013, allocations: 13.14 kB / 1.328 GB, free: 2.207 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.865e-05/1.013, allocations: 7.719 kB / 1.328 GB, free: 2.203 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.017e-05/1.014, allocations: 64.28 kB / 1.328 GB, free: 2.141 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/1.014, allocations: 52.61 kB / 1.328 GB, free: 2.117 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/1.015, allocations: 471.6 kB / 1.329 GB, free: 1.738 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.212e-05/1.015, allocations: 30.47 kB / 1.329 GB, free: 1.727 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-05/1.015, allocations: 42.8 kB / 1.329 GB, free: 1.715 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007291/1.016, allocations: 330.8 kB / 1.329 GB, free: 1.535 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/1.016, allocations: 0 / 1.329 GB, free: 1.535 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/1.016, allocations: 11.5 kB / 1.329 GB, free: 1.527 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/1.016, allocations: 6.438 kB / 1.329 GB, free: 1.527 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006904/1.017, allocations: 257.5 kB / 1.329 GB, free: 1.41 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/1.018, allocations: 0.9142 MB / 1.33 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006626/1.019, allocations: 351.1 kB / 1.331 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005163/1.02, allocations: 270.1 kB / 1.331 GB, free: 388 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/1.02, allocations: 4.125 kB / 1.331 GB, free: 388 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006204/1.02, allocations: 317.5 kB / 1.331 GB, free: 200 kB / 1.014 GB Notification: Performance of pre-optimization done (n=44): time 3.076e-06/1.02, allocations: 0 / 1.331 GB, free: 200 kB / 1.014 GB Notification: Performance of matching and sorting (n=44): time 0.001773/1.022, allocations: 0.8406 MB / 1.332 GB, free: 15.72 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/1.022, allocations: 188.2 kB / 1.332 GB, free: 15.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000394/1.023, allocations: 295.3 kB / 1.333 GB, free: 15.3 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.782e-05/1.023, allocations: 40.7 kB / 1.333 GB, free: 15.26 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/1.023, allocations: 164.2 kB / 1.333 GB, free: 15.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/1.023, allocations: 138.1 kB / 1.333 GB, free: 15 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/1.023, allocations: 134.2 kB / 1.333 GB, free: 14.93 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002151/1.023, allocations: 351.6 kB / 1.333 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006678/1.024, allocations: 280 kB / 1.334 GB, free: 14.46 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007437/1.025, allocations: 358.5 kB / 1.334 GB, free: 14.24 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/1.026, allocations: 0.9134 MB / 1.335 GB, free: 13.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/1.026, allocations: 0.7812 kB / 1.335 GB, free: 13.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001794/1.028, allocations: 1.001 MB / 1.336 GB, free: 12.85 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001958/1.028, allocations: 258.4 kB / 1.336 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/1.028, allocations: 6.875 kB / 1.336 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/1.028, allocations: 7.469 kB / 1.336 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/1.028, allocations: 68.64 kB / 1.336 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/1.028, allocations: 3.531 kB / 1.336 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008032/1.029, allocations: 144.8 kB / 1.336 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/1.029, allocations: 68.73 kB / 1.336 GB, free: 12.43 MB / 1.029 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.0003255/1.03, allocations: 311.9 kB / 1.337 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.263e-05/1.03, allocations: 46.94 kB / 1.337 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/1.03, allocations: 38.66 kB / 1.337 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/1.03, allocations: 4.719 kB / 1.337 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/1.03, allocations: 3.984 kB / 1.337 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/1.03, allocations: 0 / 1.337 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/1.032, allocations: 1.199 MB / 1.338 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.032, allocations: 0 / 1.338 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/1.032, allocations: 62.36 kB / 1.338 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/1.032, allocations: 2.188 kB / 1.338 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.475e-05/1.032, allocations: 17.95 kB / 1.338 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.367e-05/1.032, allocations: 9.062 kB / 1.338 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/1.032, allocations: 5.125 kB / 1.338 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/1.033, allocations: 0.757 MB / 1.339 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.43e-05/1.033, allocations: 115.6 kB / 1.339 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.822e-05/1.033, allocations: 12.16 kB / 1.339 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/1.034, allocations: 33.59 kB / 1.339 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/1.034, allocations: 39.56 kB / 1.339 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.03e-05/1.034, allocations: 51.62 kB / 1.339 GB, free: 10.44 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002353/1.034, allocations: 195.6 kB / 1.339 GB, free: 10.3 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/1.034, allocations: 0 / 1.339 GB, free: 10.3 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004959/1.035, allocations: 115.1 kB / 1.339 GB, free: 10.28 MB / 1.029 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.001663/1.036, allocations: 1.313 MB / 1.341 GB, free: 9.238 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001675/1.038, allocations: 1.046 MB / 1.342 GB, free: 8.418 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.038, allocations: 1.656 kB / 1.342 GB, free: 8.418 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006732/1.039, allocations: 0.4926 MB / 1.342 GB, free: 8.004 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005837/1.039, allocations: 95.3 kB / 1.342 GB, free: 7.949 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007436/1.047, allocations: 4.666 MB / 1.347 GB, free: 4.828 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004926/1.047, allocations: 0.7942 MB / 1.347 GB, free: 4.086 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002903/1.047, allocations: 95.38 kB / 1.348 GB, free: 4.039 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/1.048, allocations: 111.4 kB / 1.348 GB, free: 3.953 MB / 1.029 GB Notification: Performance of SimCode: time 1.223e-06/1.048, allocations: 0 / 1.348 GB, free: 3.953 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03201/1.08, allocations: 9.904 MB / 1.357 GB, free: 15.1 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.216/10.3, allocations: 10.73 kB / 1.357 GB, free: 15.1 MB / 1.045 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.862338135018945] Failed to read output from testmodel.py, exit status != 0: 10.432502092036884 10.448054701 9.433168282 Calling exit ...