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.001358/0.001358, 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.001514/0.001514, allocations: 216.8 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.497/1.497, 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 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.382/3.382, allocations: 0.49 GB / 0.7959 GB, free: 33.45 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.001999/0.001999, allocations: 77.09 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3521, allocations: 176.1 MB / 1.327 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003411/0.3555, allocations: 1.35 MB / 1.328 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003016/0.3585, allocations: 1.591 MB / 1.33 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001889/0.3587, allocations: 7.938 kB / 1.33 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.3588, allocations: 31.55 kB / 1.33 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001593/0.359, allocations: 79.42 kB / 1.33 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.3603, allocations: 0.498 MB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009014/0.3612, allocations: 0.6521 MB / 1.331 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003737/0.3615, allocations: 117.3 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004002/0.3619, allocations: 255.4 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003746/0.3623, allocations: 243.2 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.95e-05/0.3624, allocations: 64 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.3626, allocations: 83.92 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.706e-05/0.3627, allocations: 79.7 kB / 1.332 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002593/0.3629, allocations: 251 kB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007504/0.3637, allocations: 0.6851 MB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.3637, allocations: 8 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3637, allocations: 0 / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.3637, allocations: 0 / 1.332 GB, free: 11.99 MB / 1.029 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.001355/0.365, allocations: 0.871 MB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.3651, allocations: 12.03 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.058e-05/0.3651, allocations: 8.688 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.958e-05/0.3652, allocations: 66.72 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.3653, allocations: 48.7 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.3666, allocations: 401.4 kB / 1.334 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.047e-05/0.3666, allocations: 28.86 kB / 1.334 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.334e-05/0.3667, allocations: 40.38 kB / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006789/0.3674, allocations: 324.1 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.3674, allocations: 0 / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/0.3674, allocations: 12 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.3675, allocations: 11.98 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006976/0.3681, allocations: 257.7 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.3698, allocations: 0.8758 MB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006649/0.3705, allocations: 351.2 kB / 1.336 GB, free: 8.531 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005046/0.371, allocations: 260.7 kB / 1.336 GB, free: 8.273 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.371, allocations: 7.984 kB / 1.336 GB, free: 8.266 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000618/0.3717, allocations: 323.7 kB / 1.336 GB, free: 7.938 MB / 1.029 GB Notification: Performance of pre-optimization done (n=44): time 2.244e-06/0.3717, allocations: 3.938 kB / 1.336 GB, free: 7.934 MB / 1.029 GB Notification: Performance of matching and sorting (n=44): time 0.001674/0.3733, allocations: 0.8373 MB / 1.337 GB, free: 7.059 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.3735, allocations: 191.9 kB / 1.337 GB, free: 6.828 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003343/0.3738, allocations: 288.5 kB / 1.338 GB, free: 6.535 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.411e-05/0.3739, allocations: 41.7 kB / 1.338 GB, free: 6.488 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.374, allocations: 168.9 kB / 1.338 GB, free: 6.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.3741, allocations: 138.9 kB / 1.338 GB, free: 6.184 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/0.3744, allocations: 134.1 kB / 1.338 GB, free: 6.047 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.3746, allocations: 350.7 kB / 1.338 GB, free: 5.695 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006313/0.3752, allocations: 276.8 kB / 1.339 GB, free: 5.426 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007043/0.3759, allocations: 365.4 kB / 1.339 GB, free: 5.035 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/0.3772, allocations: 0.909 MB / 1.34 GB, free: 4.012 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.3772, allocations: 0 / 1.34 GB, free: 4.012 MB / 1.029 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001786/0.379, allocations: 0.9978 MB / 1.341 GB, free: 2.957 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001664/0.3791, allocations: 259.3 kB / 1.341 GB, free: 2.648 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.3792, allocations: 0 / 1.341 GB, free: 2.648 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.3792, allocations: 8 kB / 1.341 GB, free: 2.641 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.3795, allocations: 67.83 kB / 1.341 GB, free: 2.574 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.3795, allocations: 12.28 kB / 1.341 GB, free: 2.562 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000777/0.3803, allocations: 139.6 kB / 1.341 GB, free: 2.426 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.3804, allocations: 67.92 kB / 1.341 GB, free: 2.359 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.0003574/0.3807, allocations: 326.7 kB / 1.342 GB, free: 2 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.11e-05/0.3808, allocations: 39.77 kB / 1.342 GB, free: 1.961 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.436e-05/0.3809, allocations: 39.48 kB / 1.342 GB, free: 1.918 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.3809, allocations: 4 kB / 1.342 GB, free: 1.914 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.3809, allocations: 0 / 1.342 GB, free: 1.914 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-06/0.3809, allocations: 7.984 kB / 1.342 GB, free: 1.906 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001868/0.3828, allocations: 1.167 MB / 1.343 GB, free: 0.6602 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3828, allocations: 4 kB / 1.343 GB, free: 0.6562 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.383, allocations: 63.89 kB / 1.343 GB, free: 0.5938 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.383, allocations: 4 kB / 1.343 GB, free: 0.5898 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.3831, allocations: 11.98 kB / 1.343 GB, free: 0.5781 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.3831, allocations: 7.938 kB / 1.343 GB, free: 0.5703 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3831, allocations: 0 / 1.343 GB, free: 0.5703 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.3843, allocations: 0.7586 MB / 1.344 GB, free: 15.77 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.79e-05/0.3843, allocations: 43.64 kB / 1.344 GB, free: 15.72 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.443e-05/0.3844, allocations: 15.98 kB / 1.344 GB, free: 15.71 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.3846, allocations: 31.91 kB / 1.344 GB, free: 15.68 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.3847, allocations: 47.86 kB / 1.344 GB, free: 15.63 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.408e-05/0.3848, allocations: 43.95 kB / 1.344 GB, free: 15.59 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000215/0.385, allocations: 199.1 kB / 1.344 GB, free: 15.39 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.385, allocations: 3.938 kB / 1.344 GB, free: 15.39 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004913/0.3855, allocations: 108 kB / 1.344 GB, free: 15.28 MB / 1.045 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.001643/0.3871, allocations: 1.33 MB / 1.345 GB, free: 13.89 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001702/0.3888, allocations: 1.034 MB / 1.346 GB, free: 12.75 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3889, allocations: 0 / 1.346 GB, free: 12.75 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006566/0.3895, allocations: 0.4934 MB / 1.347 GB, free: 12.19 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005858/0.3901, allocations: 94.81 kB / 1.347 GB, free: 12.1 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007293/0.3974, allocations: 4.654 MB / 1.352 GB, free: 7.254 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.3978, allocations: 0.8001 MB / 1.352 GB, free: 6.426 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002606/0.3981, allocations: 91.2 kB / 1.352 GB, free: 6.332 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.3983, allocations: 115.4 kB / 1.353 GB, free: 6.219 MB / 1.045 GB Notification: Performance of SimCode: time 1.393e-06/0.3983, allocations: 0 / 1.353 GB, free: 6.219 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03366/0.4319, allocations: 10.23 MB / 1.363 GB, free: 12.23 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.38, allocations: 18.36 kB / 1.363 GB, free: 12.21 MB / 1.061 GB " [Timeout remaining time 287] (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: 19.343930058006663] Failed to read output from testmodel.py, exit status != 0: 12.55292178702075 12.580444652 12.211453369000001 Calling exit ...