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.002093/0.002093, allocations: 113.5 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.002527/0.002527, allocations: 221.1 kB / 23.05 MB, free: 5.074 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.282/3.282, allocations: 0.5003 GB / 0.8061 GB, free: 26.82 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.002017/0.002017, allocations: 63.58 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.342, allocations: 179 MB / 1.345 GB, free: 496 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002695/0.3447, allocations: 1.054 MB / 1.346 GB, free: 15.43 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002461/0.3472, allocations: 1.498 MB / 1.348 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.3473, allocations: 4 kB / 1.348 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.3474, allocations: 23.67 kB / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.3475, allocations: 51.58 kB / 1.348 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.3488, allocations: 467 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006388/0.3494, allocations: 0.5076 MB / 1.349 GB, free: 12.88 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002616/0.3497, allocations: 95.94 kB / 1.349 GB, free: 12.79 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000277/0.35, allocations: 203.6 kB / 1.349 GB, free: 12.59 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003552/0.3503, allocations: 203.2 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.698e-05/0.3504, allocations: 48 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.3506, allocations: 60 kB / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000193/0.3508, allocations: 67.81 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002465/0.351, allocations: 191.3 kB / 1.35 GB, free: 12.03 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007432/0.3517, allocations: 0.5139 MB / 1.35 GB, free: 11.51 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3517, allocations: 0 / 1.35 GB, free: 11.51 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3517, allocations: 0 / 1.35 GB, free: 11.51 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.3518, allocations: 4 kB / 1.35 GB, free: 11.51 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.00106/0.3528, allocations: 0.6328 MB / 1.351 GB, free: 10.81 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.3529, allocations: 8.031 kB / 1.351 GB, free: 10.8 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.848e-05/0.3529, allocations: 4.562 kB / 1.351 GB, free: 10.8 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.168e-05/0.3529, allocations: 58.72 kB / 1.351 GB, free: 10.73 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.3531, allocations: 40.75 kB / 1.351 GB, free: 10.7 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009512/0.354, allocations: 295.2 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.401e-05/0.354, allocations: 32.67 kB / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.266e-05/0.3541, allocations: 28.38 kB / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006542/0.3548, allocations: 239.4 kB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.3548, allocations: 4 kB / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.3548, allocations: 8 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.3548, allocations: 7.938 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003195/0.3551, allocations: 147.8 kB / 1.352 GB, free: 9.922 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/0.3568, allocations: 0.7217 MB / 1.352 GB, free: 9.152 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.3571, allocations: 178.4 kB / 1.352 GB, free: 8.969 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003561/0.3574, allocations: 202.6 kB / 1.353 GB, free: 8.77 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.3575, allocations: 0 / 1.353 GB, free: 8.77 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003772/0.3578, allocations: 249.3 kB / 1.353 GB, free: 8.504 MB / 1.045 GB Notification: Performance of pre-optimization done (n=28): time 1.182e-06/0.3578, allocations: 0 / 1.353 GB, free: 8.504 MB / 1.045 GB Notification: Performance of matching and sorting (n=28): time 0.000831/0.3587, allocations: 423.2 kB / 1.353 GB, free: 8.086 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.194e-05/0.3588, allocations: 106.8 kB / 1.353 GB, free: 7.957 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/0.3591, allocations: 289.7 kB / 1.354 GB, free: 7.66 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.42e-05/0.3592, allocations: 41.7 kB / 1.354 GB, free: 7.613 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.3593, allocations: 160.8 kB / 1.354 GB, free: 7.453 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.3595, allocations: 59.55 kB / 1.354 GB, free: 7.395 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002589/0.3597, allocations: 145.9 kB / 1.354 GB, free: 7.246 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.3599, allocations: 346.7 kB / 1.354 GB, free: 6.898 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004203/0.3603, allocations: 200.1 kB / 1.355 GB, free: 6.703 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004946/0.3608, allocations: 320.2 kB / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007302/0.3616, allocations: 0.5271 MB / 1.355 GB, free: 5.742 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.3616, allocations: 4 kB / 1.355 GB, free: 5.738 MB / 1.045 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001347/0.3629, allocations: 0.7251 MB / 1.356 GB, free: 4.984 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001868/0.3631, allocations: 122.8 kB / 1.356 GB, free: 4.84 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.3631, allocations: 4 kB / 1.356 GB, free: 4.836 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.3631, allocations: 4 kB / 1.356 GB, free: 4.832 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.3632, allocations: 27.92 kB / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.3632, allocations: 4 kB / 1.356 GB, free: 4.801 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006908/0.3639, allocations: 135.8 kB / 1.356 GB, free: 4.668 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.3641, allocations: 67.86 kB / 1.356 GB, free: 4.602 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.000281/0.3643, allocations: 189.7 kB / 1.357 GB, free: 4.406 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.787e-05/0.3644, allocations: 27.81 kB / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005903/0.365, allocations: 356.4 kB / 1.357 GB, free: 4.023 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.365, allocations: 4 kB / 1.357 GB, free: 4.02 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.365, allocations: 4 kB / 1.357 GB, free: 4.016 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.365, allocations: 11.92 kB / 1.357 GB, free: 4.004 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009981/0.366, allocations: 0.6701 MB / 1.358 GB, free: 3.285 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.366, allocations: 7.922 kB / 1.358 GB, free: 3.277 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.986e-05/0.3661, allocations: 23.92 kB / 1.358 GB, free: 3.254 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.3661, allocations: 0 / 1.358 GB, free: 3.254 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.3661, allocations: 11.94 kB / 1.358 GB, free: 3.242 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3661, allocations: 0 / 1.358 GB, free: 3.242 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.3661, allocations: 7.984 kB / 1.358 GB, free: 3.234 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000534/0.3667, allocations: 425 kB / 1.358 GB, free: 2.805 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.7e-05/0.3668, allocations: 27.75 kB / 1.358 GB, free: 2.777 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.3668, allocations: 11.94 kB / 1.358 GB, free: 2.766 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.3669, allocations: 7.984 kB / 1.358 GB, free: 2.758 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/0.367, allocations: 23.95 kB / 1.358 GB, free: 2.734 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.367, allocations: 19.94 kB / 1.358 GB, free: 2.715 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002845/0.3673, allocations: 187.1 kB / 1.358 GB, free: 2.535 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3673, allocations: 0 / 1.358 GB, free: 2.535 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004392/0.3677, allocations: 88 kB / 1.359 GB, free: 2.449 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.001301/0.369, allocations: 0.9717 MB / 1.359 GB, free: 1.449 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001119/0.3702, allocations: 0.5993 MB / 1.36 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3702, allocations: 4 kB / 1.36 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002475/0.3704, allocations: 119.9 kB / 1.36 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005299/0.3709, allocations: 74.89 kB / 1.36 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00594/0.3769, allocations: 3.608 MB / 1.364 GB, free: 12.82 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006996/0.3776, allocations: 0.7646 MB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003527/0.3779, allocations: 66.92 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.3781, allocations: 103.4 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of SimCode: time 6.42e-07/0.3781, allocations: 0 / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03433/0.4124, allocations: 8.206 MB / 1.373 GB, free: 3.863 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.44, allocations: 6.406 kB / 1.373 GB, free: 3.859 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.29036330105737] Failed to read output from testmodel.py, exit status != 0: 12.608717191964388 12.626292749 12.271183606 Calling exit ...