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.001551/0.001551, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001895/0.001895, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.551/1.551, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.176/3.176, allocations: 0.5003 GB / 0.8026 GB, free: 6.715 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.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.003014/0.003014, allocations: 75.88 kB / 1.165 GB, free: 488 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.178/1.181, allocations: 178.9 MB / 1.34 GB, free: 16.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002272/1.183, allocations: 1.038 MB / 1.341 GB, free: 15.55 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00182/1.185, allocations: 1.502 MB / 1.343 GB, free: 14.46 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/1.185, allocations: 2.344 kB / 1.343 GB, free: 14.46 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001275/1.185, allocations: 29.45 kB / 1.343 GB, free: 14.44 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.453e-05/1.185, allocations: 47.67 kB / 1.343 GB, free: 14.4 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/1.186, allocations: 477.4 kB / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005091/1.187, allocations: 0.499 MB / 1.344 GB, free: 13.94 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000236/1.187, allocations: 102.9 kB / 1.344 GB, free: 13.89 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/1.187, allocations: 212.2 kB / 1.344 GB, free: 13.8 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002549/1.188, allocations: 181.7 kB / 1.344 GB, free: 13.72 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.8e-05/1.188, allocations: 50.38 kB / 1.344 GB, free: 13.72 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/1.188, allocations: 67.03 kB / 1.344 GB, free: 13.71 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.339e-05/1.188, allocations: 68.58 kB / 1.344 GB, free: 13.67 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001939/1.188, allocations: 191.8 kB / 1.344 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006349/1.189, allocations: 0.5108 MB / 1.345 GB, free: 13.38 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.189, allocations: 0 / 1.345 GB, free: 13.38 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.613e-06/1.189, allocations: 5.375 kB / 1.345 GB, free: 13.38 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.385e-05/1.189, allocations: 0 / 1.345 GB, free: 13.38 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008615/1.19, allocations: 0.6991 MB / 1.346 GB, free: 12.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/1.19, allocations: 9.625 kB / 1.346 GB, free: 12.75 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.564e-05/1.19, allocations: 4.688 kB / 1.346 GB, free: 12.75 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.057e-05/1.19, allocations: 64.27 kB / 1.346 GB, free: 12.69 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/1.19, allocations: 40.97 kB / 1.346 GB, free: 12.68 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009083/1.191, allocations: 360.7 kB / 1.346 GB, free: 12.41 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/1.191, allocations: 25.23 kB / 1.346 GB, free: 12.4 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.157e-05/1.191, allocations: 35.16 kB / 1.346 GB, free: 12.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/1.191, allocations: 236.7 kB / 1.346 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/1.191, allocations: 0 / 1.346 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/1.191, allocations: 9.406 kB / 1.346 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/1.191, allocations: 3.812 kB / 1.346 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002375/1.192, allocations: 141.4 kB / 1.347 GB, free: 12.26 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/1.193, allocations: 0.7602 MB / 1.347 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/1.193, allocations: 173.2 kB / 1.347 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/1.193, allocations: 207.9 kB / 1.348 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/1.193, allocations: 1.562 kB / 1.348 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003361/1.194, allocations: 252.7 kB / 1.348 GB, free: 11.54 MB / 1.061 GB Notification: Performance of pre-optimization done (n=28): time 1.553e-06/1.194, allocations: 1.031 kB / 1.348 GB, free: 11.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=28): time 0.0007381/1.194, allocations: 423.4 kB / 1.348 GB, free: 11.4 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/1.195, allocations: 111.5 kB / 1.348 GB, free: 11.27 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003021/1.195, allocations: 280.3 kB / 1.349 GB, free: 11.11 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.469e-05/1.195, allocations: 43.36 kB / 1.349 GB, free: 11.07 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/1.195, allocations: 162 kB / 1.349 GB, free: 10.93 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/1.195, allocations: 58.92 kB / 1.349 GB, free: 10.89 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/1.195, allocations: 147.2 kB / 1.349 GB, free: 10.83 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.347e-05/1.195, allocations: 343.4 kB / 1.349 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003871/1.196, allocations: 200.6 kB / 1.35 GB, free: 10.44 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004714/1.196, allocations: 324.7 kB / 1.35 GB, free: 10.23 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006108/1.197, allocations: 0.5274 MB / 1.35 GB, free: 9.859 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/1.197, allocations: 1.25 kB / 1.35 GB, free: 9.859 MB / 1.061 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001194/1.198, allocations: 0.729 MB / 1.351 GB, free: 9.512 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.545e-05/1.198, allocations: 125.8 kB / 1.351 GB, free: 9.383 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/1.198, allocations: 3.875 kB / 1.351 GB, free: 9.383 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/1.198, allocations: 5.344 kB / 1.351 GB, free: 9.383 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/1.198, allocations: 28.27 kB / 1.351 GB, free: 9.371 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/1.198, allocations: 6 kB / 1.351 GB, free: 9.371 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007444/1.199, allocations: 136.2 kB / 1.351 GB, free: 9.336 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/1.199, allocations: 68.62 kB / 1.351 GB, free: 9.328 MB / 1.061 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.0002243/1.199, allocations: 189.4 kB / 1.352 GB, free: 9.18 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/1.199, allocations: 29.8 kB / 1.352 GB, free: 9.164 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000594/1.2, allocations: 353.1 kB / 1.352 GB, free: 9.031 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/1.2, allocations: 3.219 kB / 1.352 GB, free: 9.031 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.2, allocations: 4.656 kB / 1.352 GB, free: 9.027 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/1.2, allocations: 6.234 kB / 1.352 GB, free: 9.023 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008589/1.201, allocations: 0.7104 MB / 1.353 GB, free: 8.582 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.201, allocations: 0 / 1.353 GB, free: 8.582 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.383e-05/1.201, allocations: 18.64 kB / 1.353 GB, free: 8.578 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/1.201, allocations: 1.938 kB / 1.353 GB, free: 8.578 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/1.201, allocations: 12.17 kB / 1.353 GB, free: 8.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/1.201, allocations: 1.312 kB / 1.353 GB, free: 8.57 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/1.201, allocations: 0 / 1.353 GB, free: 8.57 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004534/1.201, allocations: 421.7 kB / 1.353 GB, free: 8.344 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/1.201, allocations: 106.2 kB / 1.353 GB, free: 8.23 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.878e-05/1.201, allocations: 11.86 kB / 1.353 GB, free: 8.223 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/1.202, allocations: 14.64 kB / 1.353 GB, free: 8.215 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.53e-05/1.202, allocations: 21.05 kB / 1.353 GB, free: 8.211 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/1.202, allocations: 13.58 kB / 1.353 GB, free: 8.207 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000179/1.202, allocations: 191.2 kB / 1.354 GB, free: 8.094 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.202, allocations: 4 kB / 1.354 GB, free: 8.09 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004676/1.202, allocations: 87.28 kB / 1.354 GB, free: 8.078 MB / 1.061 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.0007281/1.203, allocations: 0.9796 MB / 1.355 GB, free: 7.305 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008905/1.204, allocations: 0.6023 MB / 1.355 GB, free: 6.938 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.204, allocations: 1.062 kB / 1.355 GB, free: 6.938 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002083/1.204, allocations: 124.7 kB / 1.355 GB, free: 6.906 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000503/1.205, allocations: 63.78 kB / 1.355 GB, free: 6.883 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004894/1.21, allocations: 3.618 MB / 1.359 GB, free: 4.609 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/1.21, allocations: 0.7662 MB / 1.36 GB, free: 3.902 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001989/1.21, allocations: 71.11 kB / 1.36 GB, free: 3.887 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/1.21, allocations: 100.3 kB / 1.36 GB, free: 3.82 MB / 1.061 GB Notification: Performance of SimCode: time 1.002e-06/1.21, allocations: 0 / 1.36 GB, free: 3.82 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03051/1.241, allocations: 7.9 MB / 1.367 GB, free: 2.996 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.969/10.21, allocations: 8.656 kB / 1.367 GB, free: 2.992 MB / 1.061 GB " [Timeout remaining time 290] (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: 17.114678211975843] Failed to read output from testmodel.py, exit status != 0: 10.34100676100934 10.354200541 9.162502924 Calling exit ...