Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.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.001687/0.001687, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002167/0.002167, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.36/3.36, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 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.BooleanExtractor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",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.002036/0.002036, allocations: 65.77 kB / 1.17 GB, free: 19.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3887, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.003329/0.392, allocations: 0.9881 MB / 1.346 GB, free: 14.98 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002845/0.3949, allocations: 1.486 MB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.395, allocations: 3.938 kB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001562/0.3952, allocations: 27.67 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.3953, allocations: 43.64 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.3965, allocations: 474.7 kB / 1.348 GB, free: 12.95 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006585/0.3971, allocations: 0.5076 MB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002751/0.3974, allocations: 95.94 kB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.3976, allocations: 199.6 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003177/0.398, allocations: 195.3 kB / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.05e-05/0.3981, allocations: 52 kB / 1.349 GB, free: 11.91 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.3982, allocations: 59.98 kB / 1.349 GB, free: 11.85 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.3983, allocations: 67.75 kB / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.3985, allocations: 171.5 kB / 1.35 GB, free: 11.62 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006825/0.3992, allocations: 0.5138 MB / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.3992, allocations: 3.938 kB / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3992, allocations: 4 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.3992, allocations: 0 / 1.35 GB, free: 11.09 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001116/0.4004, allocations: 0.6368 MB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.4004, allocations: 8.031 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.974e-05/0.4004, allocations: 4.562 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.496e-05/0.4005, allocations: 54.73 kB / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.4006, allocations: 40.78 kB / 1.351 GB, free: 10.28 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.4016, allocations: 295.2 kB / 1.351 GB, free: 9.969 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.446e-05/0.4016, allocations: 20.75 kB / 1.351 GB, free: 9.949 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.072e-05/0.4017, allocations: 40.3 kB / 1.351 GB, free: 9.91 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005124/0.4022, allocations: 371.9 kB / 1.351 GB, free: 9.512 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.4023, allocations: 0 / 1.351 GB, free: 9.512 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.4023, allocations: 4 kB / 1.351 GB, free: 9.508 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.4023, allocations: 4 kB / 1.351 GB, free: 9.504 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000263/0.4025, allocations: 147.9 kB / 1.352 GB, free: 9.359 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.4039, allocations: 0.6515 MB / 1.352 GB, free: 8.66 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/0.4042, allocations: 170.5 kB / 1.352 GB, free: 8.484 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000296/0.4045, allocations: 196.8 kB / 1.353 GB, free: 8.289 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.4045, allocations: 0 / 1.353 GB, free: 8.289 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004312/0.4049, allocations: 351 kB / 1.353 GB, free: 7.898 MB / 1.045 GB Notification: Performance of pre-optimization done (n=28): time 1.312e-06/0.4049, allocations: 0 / 1.353 GB, free: 7.898 MB / 1.045 GB Notification: Performance of matching and sorting (n=28): time 0.0007655/0.4057, allocations: 431.2 kB / 1.353 GB, free: 7.473 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.4058, allocations: 110.8 kB / 1.353 GB, free: 7.34 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000346/0.4061, allocations: 285.7 kB / 1.354 GB, free: 7.047 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.227e-05/0.4062, allocations: 37.7 kB / 1.354 GB, free: 7.004 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.4064, allocations: 164.8 kB / 1.354 GB, free: 6.84 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.861e-05/0.4064, allocations: 71.47 kB / 1.354 GB, free: 6.77 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/0.4067, allocations: 141.9 kB / 1.354 GB, free: 6.625 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001985/0.4069, allocations: 342.8 kB / 1.354 GB, free: 6.281 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004942/0.4074, allocations: 326.9 kB / 1.355 GB, free: 5.934 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006319/0.408, allocations: 494.4 kB / 1.355 GB, free: 5.363 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007127/0.4087, allocations: 0.531 MB / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.4087, allocations: 8 kB / 1.356 GB, free: 4.754 MB / 1.045 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001344/0.4101, allocations: 0.8448 MB / 1.357 GB, free: 3.855 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.4102, allocations: 132.7 kB / 1.357 GB, free: 3.703 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.4102, allocations: 4 kB / 1.357 GB, free: 3.699 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.746e-05/0.4102, allocations: 4.406 kB / 1.357 GB, free: 3.695 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.4103, allocations: 27.92 kB / 1.357 GB, free: 3.668 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.4104, allocations: 4 kB / 1.357 GB, free: 3.664 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006785/0.411, allocations: 131.5 kB / 1.357 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/0.4112, allocations: 75.86 kB / 1.357 GB, free: 3.461 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,con.y,con1.y,extIndBoo.u[4],extIndBoo.u[1],extIndBoo1.u[4],extIndBoo2.u[4],extIndBoo3.u[4],extIndBoo4.u[4],extIndBoo1.u[1],extIndBoo2.u[1],extIndBoo3.u[1],extIndBoo4.u[1],intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,booPul1.y,$PRE.booPul1.y,booPul.y,$PRE.booPul.y,extIndBoo4.y,extIndBoo4.u[3],extIndBoo4.u[2],extIndBoo3.y,extIndBoo3.u[3],extIndBoo3.u[2],extIndBoo2.y,extIndBoo2.u[3],extIndBoo2.u[2],extIndBoo1.y,extIndBoo1.u[3],extIndBoo1.u[2],extIndBoo.u[3],extIndBoo.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0002542/0.4114, allocations: 177.7 kB / 1.357 GB, free: 3.277 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.4115, allocations: 31.8 kB / 1.357 GB, free: 3.246 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006185/0.4121, allocations: 364.4 kB / 1.357 GB, free: 2.883 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.4121, allocations: 4 kB / 1.357 GB, free: 2.879 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4121, allocations: 0 / 1.357 GB, free: 2.879 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.4121, allocations: 3.938 kB / 1.357 GB, free: 2.875 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009594/0.4131, allocations: 0.6584 MB / 1.358 GB, free: 2.168 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.4131, allocations: 0 / 1.358 GB, free: 2.168 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.767e-05/0.4131, allocations: 23.92 kB / 1.358 GB, free: 2.145 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.4132, allocations: 0 / 1.358 GB, free: 2.145 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.4132, allocations: 11.94 kB / 1.358 GB, free: 2.133 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4132, allocations: 4 kB / 1.358 GB, free: 2.129 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4132, allocations: 4 kB / 1.358 GB, free: 2.125 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005219/0.4137, allocations: 417 kB / 1.359 GB, free: 1.703 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.234e-05/0.4137, allocations: 31.73 kB / 1.359 GB, free: 1.672 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.159e-05/0.4138, allocations: 11.94 kB / 1.359 GB, free: 1.66 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.4139, allocations: 11.94 kB / 1.359 GB, free: 1.648 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.528e-05/0.414, allocations: 23.95 kB / 1.359 GB, free: 1.625 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.414, allocations: 15.94 kB / 1.359 GB, free: 1.609 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001968/0.4142, allocations: 191.1 kB / 1.359 GB, free: 1.426 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4142, allocations: 0 / 1.359 GB, free: 1.426 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004364/0.4146, allocations: 88 kB / 1.359 GB, free: 1.34 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: 32 (extIndBoo.u[2],extIndBoo.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.y,extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.y,extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.y,extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.y,booPul.y,booPul1.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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * 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.0009505/0.4156, allocations: 0.9756 MB / 1.36 GB, free: 344 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.4166, allocations: 0.7278 MB / 1.361 GB, free: 15.54 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4166, allocations: 0 / 1.361 GB, free: 15.54 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.4168, allocations: 119.9 kB / 1.361 GB, free: 15.42 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/0.4173, allocations: 70.09 kB / 1.361 GB, free: 15.35 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005492/0.4227, allocations: 4.119 MB / 1.365 GB, free: 10.96 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.4229, allocations: 151.9 kB / 1.365 GB, free: 10.79 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001868/0.4231, allocations: 74.89 kB / 1.365 GB, free: 10.71 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.4233, allocations: 99.41 kB / 1.365 GB, free: 10.61 MB / 1.061 GB Notification: Performance of SimCode: time 1.262e-06/0.4233, allocations: 0 / 1.365 GB, free: 10.61 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03382/0.4571, allocations: 8.542 MB / 1.373 GB, free: 2.355 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.6, allocations: 9.25 kB / 1.373 GB, free: 2.348 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.669541646027938] Failed to read output from testmodel.py, exit status != 0: 12.767292923061177 12.782695199 12.380382187 Calling exit ...