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.001808/0.001808, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002407/0.002407, allocations: 218 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.504/1.504, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.382/3.382, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 MB / 0.6231 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.002011/0.002011, allocations: 62.14 kB / 1.171 GB, free: 19.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3295, allocations: 179 MB / 1.345 GB, free: 464 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002933/0.3325, allocations: 1.347 MB / 1.347 GB, free: 15.1 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002535/0.335, allocations: 1.584 MB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002066/0.3352, allocations: 11.94 kB / 1.348 GB, free: 13.49 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001701/0.3354, allocations: 39.53 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002109/0.3356, allocations: 75.38 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.337, allocations: 0.4993 MB / 1.349 GB, free: 12.89 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0008969/0.3379, allocations: 0.6482 MB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002967/0.3382, allocations: 117.3 kB / 1.35 GB, free: 12.12 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003903/0.3386, allocations: 259.4 kB / 1.35 GB, free: 11.87 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004155/0.339, allocations: 243.1 kB / 1.35 GB, free: 11.63 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001458/0.3391, allocations: 64 kB / 1.35 GB, free: 11.57 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.3393, allocations: 83.98 kB / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.3394, allocations: 79.7 kB / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003027/0.3397, allocations: 251 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0009934/0.3407, allocations: 0.6812 MB / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3407, allocations: 0 / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3407, allocations: 3.938 kB / 1.351 GB, free: 10.47 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.708e-05/0.3407, allocations: 4 kB / 1.351 GB, free: 10.47 MB / 1.045 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.00181/0.3426, allocations: 0.875 MB / 1.352 GB, free: 9.504 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3426, allocations: 12.03 kB / 1.352 GB, free: 9.492 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.972e-05/0.3426, allocations: 4.688 kB / 1.352 GB, free: 9.488 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.062e-05/0.3427, allocations: 66.72 kB / 1.352 GB, free: 9.414 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000247/0.3429, allocations: 56.64 kB / 1.352 GB, free: 9.359 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.3444, allocations: 401.5 kB / 1.353 GB, free: 8.945 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.866e-05/0.3444, allocations: 28.88 kB / 1.353 GB, free: 8.918 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.3445, allocations: 44.38 kB / 1.353 GB, free: 8.875 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007131/0.3453, allocations: 324 kB / 1.353 GB, free: 8.551 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3453, allocations: 0 / 1.353 GB, free: 8.551 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.3453, allocations: 12 kB / 1.353 GB, free: 8.539 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.3453, allocations: 4 kB / 1.353 GB, free: 8.535 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006976/0.346, allocations: 257.8 kB / 1.353 GB, free: 8.285 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001988/0.348, allocations: 0.8795 MB / 1.354 GB, free: 7.359 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006964/0.3487, allocations: 350.6 kB / 1.354 GB, free: 7.008 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005168/0.3492, allocations: 268.7 kB / 1.355 GB, free: 6.742 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.3492, allocations: 4 kB / 1.355 GB, free: 6.738 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006293/0.3499, allocations: 323.7 kB / 1.355 GB, free: 6.41 MB / 1.045 GB Notification: Performance of pre-optimization done (n=44): time 2.765e-06/0.3499, allocations: 0 / 1.355 GB, free: 6.41 MB / 1.045 GB Notification: Performance of matching and sorting (n=44): time 0.001739/0.3516, allocations: 0.8335 MB / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002443/0.3518, allocations: 191.9 kB / 1.356 GB, free: 5.309 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003527/0.3522, allocations: 292.5 kB / 1.356 GB, free: 5.012 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.518e-05/0.3523, allocations: 37.7 kB / 1.356 GB, free: 4.969 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.3525, allocations: 172.9 kB / 1.356 GB, free: 4.797 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.3526, allocations: 138.8 kB / 1.357 GB, free: 4.66 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002912/0.3529, allocations: 134.1 kB / 1.357 GB, free: 4.523 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002011/0.3531, allocations: 354.7 kB / 1.357 GB, free: 4.168 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006673/0.3537, allocations: 276.7 kB / 1.357 GB, free: 3.898 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007144/0.3545, allocations: 361.5 kB / 1.358 GB, free: 3.512 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.3558, allocations: 0.9051 MB / 1.358 GB, free: 2.488 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/0.3558, allocations: 4 kB / 1.359 GB, free: 2.484 MB / 1.045 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001805/0.3576, allocations: 1.002 MB / 1.359 GB, free: 1.422 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001846/0.3578, allocations: 259.3 kB / 1.36 GB, free: 1.113 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.3578, allocations: 4 kB / 1.36 GB, free: 1.109 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.3579, allocations: 4 kB / 1.36 GB, free: 1.105 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002949/0.3582, allocations: 67.89 kB / 1.36 GB, free: 1.039 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.3582, allocations: 4 kB / 1.36 GB, free: 1.035 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000779/0.359, allocations: 143.7 kB / 1.36 GB, free: 0.8945 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.3591, allocations: 67.86 kB / 1.36 GB, free: 0.8281 MB / 1.045 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.000347/0.3594, allocations: 322.2 kB / 1.36 GB, free: 484 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.255e-05/0.3595, allocations: 43.7 kB / 1.36 GB, free: 440 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.3596, allocations: 39.48 kB / 1.36 GB, free: 400 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.3596, allocations: 4 kB / 1.36 GB, free: 396 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.3596, allocations: 0 / 1.36 GB, free: 396 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.3597, allocations: 11.98 kB / 1.36 GB, free: 384 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/0.3617, allocations: 1.164 MB / 1.362 GB, free: 15.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3617, allocations: 0 / 1.362 GB, free: 15.12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.3619, allocations: 63.89 kB / 1.362 GB, free: 15.06 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.3619, allocations: 8 kB / 1.362 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.362, allocations: 11.94 kB / 1.362 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.362, allocations: 7.938 kB / 1.362 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.362, allocations: 0 / 1.362 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.3633, allocations: 0.7663 MB / 1.362 GB, free: 14.22 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/0.3634, allocations: 39.64 kB / 1.362 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.66e-05/0.3634, allocations: 15.98 kB / 1.362 GB, free: 14.17 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.3637, allocations: 31.91 kB / 1.362 GB, free: 14.14 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.664e-05/0.3638, allocations: 35.94 kB / 1.362 GB, free: 14.1 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001768/0.3639, allocations: 47.94 kB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002154/0.3641, allocations: 195.1 kB / 1.363 GB, free: 13.87 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3641, allocations: 4 kB / 1.363 GB, free: 13.86 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005271/0.3647, allocations: 108 kB / 1.363 GB, free: 13.76 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.001806/0.3665, allocations: 1.327 MB / 1.364 GB, free: 12.38 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002159/0.3686, allocations: 1.039 MB / 1.365 GB, free: 11.23 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3686, allocations: 7.875 kB / 1.365 GB, free: 11.22 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006853/0.3693, allocations: 0.4928 MB / 1.366 GB, free: 10.67 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007641/0.3701, allocations: 82.34 kB / 1.366 GB, free: 10.59 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008403/0.3785, allocations: 4.657 MB / 1.37 GB, free: 5.742 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005109/0.379, allocations: 0.8038 MB / 1.371 GB, free: 4.91 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002883/0.3793, allocations: 91.2 kB / 1.371 GB, free: 4.82 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/0.3795, allocations: 119.3 kB / 1.371 GB, free: 4.703 MB / 1.061 GB Notification: Performance of SimCode: time 9.12e-07/0.3795, allocations: 0 / 1.371 GB, free: 4.703 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04024/0.4197, allocations: 10.23 MB / 1.381 GB, free: 10.69 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.38, allocations: 5.469 kB / 1.381 GB, free: 10.69 MB / 1.076 GB " [Timeout remaining time 287] (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: 19.43282739003189] Failed to read output from testmodel.py, exit status != 0: 12.549616157019045 12.578193461 12.231776436 Calling exit ...