Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.001764/0.001764, 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.001647/0.001647, allocations: 214.7 kB / 23.04 MB, free: 5.07 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 8 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.36/3.36, allocations: 0.49 GB / 0.7959 GB, free: 33.41 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.BooleanExtractSignal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",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.001998/0.001998, allocations: 62.38 kB / 1.155 GB, free: 25.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3617, allocations: 176.1 MB / 1.327 GB, free: 2.129 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002045/0.3638, allocations: 0.7265 MB / 1.327 GB, free: 1.406 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001894/0.3657, allocations: 1.284 MB / 1.329 GB, free: 112 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.261e-05/0.3657, allocations: 3.938 kB / 1.329 GB, free: 108 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001383/0.3659, allocations: 15.86 kB / 1.329 GB, free: 92 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.123e-05/0.3659, allocations: 15.86 kB / 1.329 GB, free: 76 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007352/0.3667, allocations: 247 kB / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003228/0.367, allocations: 239.7 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.3671, allocations: 31.91 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.3673, allocations: 103.8 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.3674, allocations: 79.77 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.138e-05/0.3675, allocations: 20 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.3676, allocations: 47.92 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.556e-05/0.3677, allocations: 39.83 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.3678, allocations: 91.64 kB / 1.33 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000321/0.3681, allocations: 235.2 kB / 1.33 GB, free: 14.97 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3681, allocations: 0 / 1.33 GB, free: 14.97 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.976e-06/0.3681, allocations: 4 kB / 1.33 GB, free: 14.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.3681, allocations: 0 / 1.33 GB, free: 14.96 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006908/0.3688, allocations: 433.1 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.3689, allocations: 8.031 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.045e-05/0.3689, allocations: 4.188 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.321e-05/0.3689, allocations: 38.75 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003623/0.3693, allocations: 56.8 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005742/0.3699, allocations: 199.2 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.3699, allocations: 12.31 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.907e-05/0.3699, allocations: 16.38 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.3702, allocations: 142.3 kB / 1.331 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3702, allocations: 3.984 kB / 1.331 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.3702, allocations: 0 / 1.331 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.3702, allocations: 4 kB / 1.331 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.3703, allocations: 51.91 kB / 1.331 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007285/0.3711, allocations: 0.6329 MB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.515e-05/0.3711, allocations: 41.22 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.337e-05/0.3712, allocations: 17.66 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-06/0.3712, allocations: 4.062 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/0.3714, allocations: 97.02 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 9.11e-07/0.3714, allocations: 0 / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0002829/0.3717, allocations: 101.5 kB / 1.332 GB, free: 12.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.449e-05/0.3718, allocations: 77.11 kB / 1.332 GB, free: 12.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.3719, allocations: 172.5 kB / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/0.372, allocations: 33.7 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.3721, allocations: 128 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.3721, allocations: 15.89 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.3722, allocations: 57.67 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3724, allocations: 322.8 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.3725, allocations: 47.97 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.3727, allocations: 124.5 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.3729, allocations: 178.2 kB / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3729, allocations: 3.938 kB / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004565/0.3733, allocations: 272.7 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.672e-05/0.3734, allocations: 67.39 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.3734, allocations: 0 / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3734, allocations: 4 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.749e-05/0.3734, allocations: 3.938 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3735, allocations: 4.25 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.3738, allocations: 59.94 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.3738, allocations: 16.36 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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.0001481/0.374, allocations: 138.3 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.374, allocations: 11.91 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.82e-05/0.374, allocations: 20.33 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.374, allocations: 7.922 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.374, allocations: 4 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.3741, allocations: 0 / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.3742, allocations: 176.6 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3742, allocations: 0 / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.596e-06/0.3742, allocations: 8.094 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3742, allocations: 3.938 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.3743, allocations: 0 / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3743, allocations: 4 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3743, allocations: 0 / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.3744, allocations: 113.9 kB / 1.334 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.3744, allocations: 15.91 kB / 1.334 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.3745, allocations: 8 kB / 1.334 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.425e-05/0.3745, allocations: 7.922 kB / 1.334 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/0.3745, allocations: 0 / 1.334 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.3745, allocations: 4 kB / 1.334 GB, free: 10.63 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001016/0.3746, allocations: 129.6 kB / 1.334 GB, free: 10.5 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3746, allocations: 0 / 1.334 GB, free: 10.5 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002584/0.3749, allocations: 32 kB / 1.334 GB, free: 10.47 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0005081/0.3754, allocations: 0.6561 MB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003324/0.3757, allocations: 210.6 kB / 1.335 GB, free: 9.555 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.3757, allocations: 4 kB / 1.335 GB, free: 9.551 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.438e-05/0.3758, allocations: 19.98 kB / 1.335 GB, free: 9.531 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.376, allocations: 19.92 kB / 1.335 GB, free: 9.512 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.3784, allocations: 1.934 MB / 1.336 GB, free: 7.434 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.3788, allocations: 0.7088 MB / 1.337 GB, free: 6.699 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.478e-05/0.3788, allocations: 8.984 kB / 1.337 GB, free: 6.691 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.631e-05/0.3789, allocations: 47.42 kB / 1.337 GB, free: 6.645 MB / 1.029 GB Notification: Performance of SimCode: time 1.002e-06/0.3789, allocations: 0 / 1.337 GB, free: 6.645 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.4034, allocations: 3.673 MB / 1.341 GB, free: 3.152 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.2, allocations: 9.062 kB / 1.341 GB, free: 3.148 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.065517452021595] Failed to read output from testmodel.py, exit status != 0: 12.364018940017559 12.393613957 12.020253293 Calling exit ...