Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.001516/0.001516, allocations: 116.8 kB / 17.17 MB, free: 6 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.001396/0.001396, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.559/1.559, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.046/3.046, allocations: 0.5003 GB / 0.8026 GB, free: 6.746 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.IntegerExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",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.002377/0.002377, allocations: 67.91 kB / 1.165 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.182/1.184, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002373/1.187, allocations: 0.877 MB / 1.341 GB, free: 15.68 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001786/1.188, allocations: 1.336 MB / 1.342 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.409e-05/1.188, allocations: 5.031 kB / 1.342 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001285/1.188, allocations: 16 kB / 1.342 GB, free: 14.7 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.666e-05/1.189, allocations: 30.09 kB / 1.342 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007363/1.189, allocations: 266 kB / 1.343 GB, free: 14.54 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003914/1.19, allocations: 322.7 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/1.19, allocations: 49.02 kB / 1.343 GB, free: 14.36 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/1.19, allocations: 131.1 kB / 1.343 GB, free: 14.3 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/1.19, allocations: 108.4 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.715e-05/1.19, allocations: 31.03 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/1.19, allocations: 49.02 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.703e-05/1.19, allocations: 54.56 kB / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001326/1.191, allocations: 115.9 kB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004706/1.191, allocations: 345.7 kB / 1.344 GB, free: 14.03 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/1.191, allocations: 4 kB / 1.344 GB, free: 14.02 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.725e-06/1.191, allocations: 6.062 kB / 1.344 GB, free: 14.02 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.233e-06/1.191, allocations: 0 / 1.344 GB, free: 14.02 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007162/1.192, allocations: 0.5537 MB / 1.344 GB, free: 13.5 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/1.192, allocations: 9.625 kB / 1.344 GB, free: 13.5 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.014e-05/1.192, allocations: 6.875 kB / 1.344 GB, free: 13.49 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.11e-05/1.192, allocations: 46.11 kB / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003529/1.192, allocations: 60.39 kB / 1.344 GB, free: 13.43 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005873/1.193, allocations: 302.8 kB / 1.345 GB, free: 13.18 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/1.193, allocations: 12.62 kB / 1.345 GB, free: 13.18 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/1.193, allocations: 20.16 kB / 1.345 GB, free: 13.17 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/1.193, allocations: 146.9 kB / 1.345 GB, free: 13.08 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/1.193, allocations: 3.938 kB / 1.345 GB, free: 13.07 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/1.193, allocations: 5.984 kB / 1.345 GB, free: 13.07 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/1.193, allocations: 4.125 kB / 1.345 GB, free: 13.07 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/1.193, allocations: 71.3 kB / 1.345 GB, free: 13.04 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007036/1.194, allocations: 0.7529 MB / 1.346 GB, free: 12.41 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.038e-05/1.194, allocations: 61.08 kB / 1.346 GB, free: 12.35 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.416e-05/1.194, allocations: 22.19 kB / 1.346 GB, free: 12.33 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/1.194, allocations: 0.7969 kB / 1.346 GB, free: 12.33 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/1.194, allocations: 104.7 kB / 1.346 GB, free: 12.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/1.194, allocations: 1.375 kB / 1.346 GB, free: 12.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.00029/1.195, allocations: 129.5 kB / 1.346 GB, free: 12.18 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/1.195, allocations: 83.17 kB / 1.346 GB, free: 12.08 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/1.195, allocations: 210.8 kB / 1.346 GB, free: 11.94 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/1.195, allocations: 33.61 kB / 1.346 GB, free: 11.9 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.496e-05/1.195, allocations: 149.2 kB / 1.346 GB, free: 11.77 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.53e-05/1.195, allocations: 14.89 kB / 1.346 GB, free: 11.76 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/1.195, allocations: 71.34 kB / 1.347 GB, free: 11.73 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.086e-05/1.195, allocations: 327.7 kB / 1.347 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/1.195, allocations: 66.39 kB / 1.347 GB, free: 11.38 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/1.196, allocations: 127.7 kB / 1.347 GB, free: 11.28 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/1.196, allocations: 190.4 kB / 1.347 GB, free: 11.11 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.196, allocations: 0 / 1.347 GB, free: 11.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004767/1.196, allocations: 303.5 kB / 1.348 GB, free: 10.93 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.208e-05/1.196, allocations: 64.11 kB / 1.348 GB, free: 10.87 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.196, allocations: 2.016 kB / 1.348 GB, free: 10.87 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/1.196, allocations: 3.062 kB / 1.348 GB, free: 10.87 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.352e-05/1.196, allocations: 13.11 kB / 1.348 GB, free: 10.87 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/1.196, allocations: 2.906 kB / 1.348 GB, free: 10.87 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003456/1.197, allocations: 69.31 kB / 1.348 GB, free: 10.85 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.341e-05/1.197, allocations: 16.77 kB / 1.348 GB, free: 10.84 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.00012/1.197, allocations: 146.3 kB / 1.348 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/1.197, allocations: 16.27 kB / 1.348 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.5e-05/1.197, allocations: 16.23 kB / 1.348 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/1.197, allocations: 1.281 kB / 1.348 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.197, allocations: 4.562 kB / 1.348 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/1.197, allocations: 6.188 kB / 1.348 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/1.197, allocations: 231.8 kB / 1.348 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/1.197, allocations: 1.062 kB / 1.348 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.577e-05/1.197, allocations: 5.484 kB / 1.348 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/1.197, allocations: 1.094 kB / 1.348 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/1.197, allocations: 2.047 kB / 1.348 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/1.197, allocations: 1.406 kB / 1.348 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.197, allocations: 0.7031 kB / 1.348 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/1.197, allocations: 145.8 kB / 1.348 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.229e-05/1.197, allocations: 90.58 kB / 1.348 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/1.197, allocations: 2.359 kB / 1.348 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.253e-05/1.197, allocations: 9.953 kB / 1.348 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/1.197, allocations: 5.359 kB / 1.348 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/1.197, allocations: 3.594 kB / 1.348 GB, free: 10.25 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001032/1.198, allocations: 150.3 kB / 1.348 GB, free: 10.16 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.198, allocations: 0 / 1.348 GB, free: 10.16 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002713/1.198, allocations: 51.06 kB / 1.349 GB, free: 10.14 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003757/1.198, allocations: 0.6759 MB / 1.349 GB, free: 9.508 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003808/1.199, allocations: 235.9 kB / 1.349 GB, free: 9.336 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.199, allocations: 1.156 kB / 1.349 GB, free: 9.336 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.224e-05/1.199, allocations: 26.44 kB / 1.349 GB, free: 9.328 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/1.199, allocations: 37.5 kB / 1.349 GB, free: 9.316 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/1.201, allocations: 2.197 MB / 1.352 GB, free: 7.648 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/1.202, allocations: 0.7244 MB / 1.352 GB, free: 6.953 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.553e-05/1.202, allocations: 24.66 kB / 1.352 GB, free: 6.945 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.141e-05/1.202, allocations: 52.17 kB / 1.352 GB, free: 6.906 MB / 1.061 GB Notification: Performance of SimCode: time 6.31e-07/1.202, allocations: 0 / 1.352 GB, free: 6.906 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/1.225, allocations: 4.337 MB / 1.357 GB, free: 6.32 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.596/9.821, allocations: 6.156 kB / 1.357 GB, free: 6.32 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.524999077024404] Failed to read output from testmodel.py, exit status != 0: 9.950359061011113 9.963008632 8.7692767 Calling exit ...