Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001319/0.001319, allocations: 113.2 kB / 19.73 MB, free: 2.242 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.001442/0.001442, allocations: 222.8 kB / 23.04 MB, free: 5.078 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.84/2.84, allocations: 476.7 MB / 0.7714 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_11_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.002117/0.002117, allocations: 63.94 kB / 1.118 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3846, allocations: 170 MB / 1.284 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002449/0.3871, allocations: 0.7228 MB / 1.285 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002319/0.3894, allocations: 1.289 MB / 1.286 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.881e-05/0.3895, allocations: 0 / 1.286 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.3896, allocations: 19.86 kB / 1.286 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.486e-05/0.3896, allocations: 15.86 kB / 1.286 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009096/0.3906, allocations: 242.1 kB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003843/0.3909, allocations: 247.6 kB / 1.287 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.3911, allocations: 31.92 kB / 1.287 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.3913, allocations: 107.8 kB / 1.287 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.3915, allocations: 83.77 kB / 1.287 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.571e-05/0.3915, allocations: 20 kB / 1.287 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.3916, allocations: 43.97 kB / 1.287 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.725e-05/0.3917, allocations: 31.86 kB / 1.287 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.3918, allocations: 95.62 kB / 1.287 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003642/0.3922, allocations: 231.5 kB / 1.287 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.3922, allocations: 0 / 1.287 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3922, allocations: 0 / 1.287 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3922, allocations: 0 / 1.287 GB, free: 8.578 MB / 0.9825 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.0007997/0.393, allocations: 445 kB / 1.288 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.3931, allocations: 12.03 kB / 1.288 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.098e-05/0.3931, allocations: 192 / 1.288 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.088e-05/0.3931, allocations: 38.75 kB / 1.288 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004017/0.3935, allocations: 56.8 kB / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000625/0.3942, allocations: 197.3 kB / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.3942, allocations: 8.375 kB / 1.288 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.463e-05/0.3942, allocations: 24.36 kB / 1.288 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.3945, allocations: 133.1 kB / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.3945, allocations: 0 / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.3945, allocations: 4 kB / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.3945, allocations: 0 / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.3946, allocations: 55.91 kB / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008219/0.3955, allocations: 0.6329 MB / 1.289 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.364e-05/0.3955, allocations: 41.16 kB / 1.289 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.066e-05/0.3956, allocations: 29.7 kB / 1.289 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.3956, allocations: 0 / 1.289 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003015/0.3959, allocations: 81.09 kB / 1.289 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.3959, allocations: 0 / 1.289 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0002959/0.3962, allocations: 105.5 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.3963, allocations: 85.09 kB / 1.289 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.3965, allocations: 168.5 kB / 1.289 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.265e-05/0.3966, allocations: 41.64 kB / 1.289 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.3967, allocations: 123.9 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.3967, allocations: 15.88 kB / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.3969, allocations: 57.69 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002064/0.3971, allocations: 322.8 kB / 1.29 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.3972, allocations: 55.97 kB / 1.29 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.3974, allocations: 112.5 kB / 1.29 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002631/0.3977, allocations: 178.2 kB / 1.29 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3977, allocations: 0 / 1.29 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005192/0.3982, allocations: 276.7 kB / 1.29 GB, free: 5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.146e-05/0.3983, allocations: 67.64 kB / 1.29 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.3983, allocations: 384 / 1.29 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.3983, allocations: 4 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.427e-05/0.3983, allocations: 4 kB / 1.29 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.3983, allocations: 3.984 kB / 1.29 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00035/0.3987, allocations: 51.95 kB / 1.291 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.3987, allocations: 15.98 kB / 1.291 GB, free: 4.844 MB / 0.9825 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.0001633/0.3989, allocations: 145.7 kB / 1.291 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.3989, allocations: 19.89 kB / 1.291 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.26e-05/0.399, allocations: 12.33 kB / 1.291 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.399, allocations: 4 kB / 1.291 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.399, allocations: 0 / 1.291 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.399, allocations: 0 / 1.291 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.3992, allocations: 184.6 kB / 1.291 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3992, allocations: 0 / 1.291 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.204e-06/0.3992, allocations: 4 kB / 1.291 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3992, allocations: 0 / 1.291 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.3992, allocations: 8 kB / 1.291 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3992, allocations: 0 / 1.291 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3992, allocations: 0 / 1.291 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.3994, allocations: 117.8 kB / 1.291 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.057e-05/0.3994, allocations: 11.91 kB / 1.291 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.3995, allocations: 7.984 kB / 1.291 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.206e-05/0.3995, allocations: 4 kB / 1.291 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.3995, allocations: 4 kB / 1.291 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.3995, allocations: 3.984 kB / 1.291 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001143/0.3996, allocations: 126.7 kB / 1.291 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3996, allocations: 0 / 1.291 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002677/0.3999, allocations: 32 kB / 1.291 GB, free: 4.098 MB / 0.9825 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.0006149/0.4005, allocations: 0.6678 MB / 1.292 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000382/0.4009, allocations: 202.7 kB / 1.292 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4009, allocations: 0 / 1.292 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.809e-05/0.4009, allocations: 23.92 kB / 1.292 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.4012, allocations: 24.48 kB / 1.292 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/0.4038, allocations: 1.921 MB / 1.294 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.4042, allocations: 0.7157 MB / 1.295 GB, free: 320 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.626e-05/0.4043, allocations: 12.97 kB / 1.295 GB, free: 308 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.993e-05/0.4043, allocations: 39.42 kB / 1.295 GB, free: 268 kB / 0.9825 GB Notification: Performance of SimCode: time 6.32e-07/0.4043, allocations: 0 / 1.295 GB, free: 268 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/0.4312, allocations: 3.674 MB / 1.298 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.77, allocations: 2.875 kB / 1.298 GB, free: 12.77 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.61330344900489] Failed to read output from testmodel.py, exit status != 0: 12.480356361018494 11.943543298 11.547972047 Calling exit ...