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/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.286/2.286, allocations: 390.3 MB / 402.8 MB, free: 6.691 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 221.3 MB / 0.7915 GB, free: 5.375 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 95.89 kB / 0.9318 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.079e-05/4.083e-05, allocations: 6.188 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3012, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8736/1.175, allocations: 150.8 MB / 1.366 GB, free: 3.285 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/1.175, allocations: 74.48 kB / 1.366 GB, free: 3.246 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02021/1.195, allocations: 6.861 MB / 1.373 GB, free: 13.31 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.653e-06/1.195, allocations: 0 / 1.373 GB, free: 13.31 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.85e-05/1.195, allocations: 8 kB / 1.373 GB, free: 13.3 MB / 0.8386 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.0006569/1.196, allocations: 0.5961 MB / 1.373 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/1.196, allocations: 12.03 kB / 1.373 GB, free: 12.65 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.161e-05/1.196, allocations: 52.31 kB / 1.373 GB, free: 12.6 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.811e-05/1.196, allocations: 35.72 kB / 1.374 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005097/1.197, allocations: 315.9 kB / 1.374 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/1.197, allocations: 27.17 kB / 1.374 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.405e-05/1.197, allocations: 34.75 kB / 1.374 GB, free: 12.21 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003733/1.197, allocations: 235.7 kB / 1.374 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/1.197, allocations: 0 / 1.374 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/1.197, allocations: 6.938 kB / 1.374 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/1.197, allocations: 11.95 kB / 1.374 GB, free: 12.01 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002199/1.198, allocations: 149 kB / 1.374 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/1.199, allocations: 0.8053 MB / 1.375 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/1.199, allocations: 197.2 kB / 1.375 GB, free: 11.06 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/1.199, allocations: 295.1 kB / 1.376 GB, free: 10.85 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/1.199, allocations: 7.938 kB / 1.376 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004109/1.2, allocations: 307.3 kB / 1.376 GB, free: 10.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=39): time 1.683e-06/1.2, allocations: 0 / 1.376 GB, free: 10.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=39): time 0.0006471/1.201, allocations: 406.5 kB / 1.376 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.078e-05/1.201, allocations: 136.5 kB / 1.376 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/1.201, allocations: 231.1 kB / 1.377 GB, free: 9.891 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.18e-05/1.201, allocations: 43.88 kB / 1.377 GB, free: 9.848 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/1.201, allocations: 132.8 kB / 1.377 GB, free: 9.738 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.74e-05/1.201, allocations: 73.73 kB / 1.377 GB, free: 9.68 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/1.201, allocations: 19.12 kB / 1.377 GB, free: 9.668 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.201, allocations: 340.7 kB / 1.377 GB, free: 9.336 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003656/1.202, allocations: 228.6 kB / 1.377 GB, free: 9.184 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004204/1.202, allocations: 311.9 kB / 1.378 GB, free: 8.922 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004164/1.203, allocations: 345.9 kB / 1.378 GB, free: 8.625 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/1.203, allocations: 0 / 1.378 GB, free: 8.625 MB / 0.8386 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001084/1.204, allocations: 0.749 MB / 1.379 GB, free: 7.992 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/1.204, allocations: 137.5 kB / 1.379 GB, free: 7.844 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/1.204, allocations: 0 / 1.379 GB, free: 7.844 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/1.204, allocations: 4 kB / 1.379 GB, free: 7.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.911e-05/1.204, allocations: 23.11 kB / 1.379 GB, free: 7.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/1.204, allocations: 7.938 kB / 1.379 GB, free: 7.812 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006939/1.205, allocations: 162.3 kB / 1.379 GB, free: 7.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/1.205, allocations: 79.12 kB / 1.379 GB, free: 7.586 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 43 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo.u[1],extIndBoo.u[2],extIndBoo.u[3],extIndBoo.u[4],extIndBoo.y,extIndBoo1.u[1],extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.u[4],extIndBoo1.y,extIndBoo2.u[1],extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.u[4],extIndBoo2.y,extIndBoo3.index,extIndBoo3.u[1],extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.u[4],extIndBoo3.y,extIndBoo4.index,extIndBoo4.u[1],extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.u[4],extIndBoo4.y,$PRE.booPul.y,booPul.y,$PRE.booPul1.y,booPul1.y,$PRE.intPul.booPul.y,intPul.booPul.y,$PRE.intPul1.booPul.y,intPul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001529/1.205, allocations: 159.4 kB / 1.379 GB, free: 7.438 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/1.205, allocations: 31.7 kB / 1.379 GB, free: 7.406 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006105/1.206, allocations: 449 kB / 1.38 GB, free: 7.066 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/1.206, allocations: 4 kB / 1.38 GB, free: 7.062 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/1.206, allocations: 0 / 1.38 GB, free: 7.062 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/1.206, allocations: 0 / 1.38 GB, free: 7.062 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000871/1.206, allocations: 0.8133 MB / 1.381 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/1.207, allocations: 0 / 1.381 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.045e-05/1.207, allocations: 27.17 kB / 1.381 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/1.207, allocations: 0 / 1.381 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/1.207, allocations: 10.81 kB / 1.381 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/1.207, allocations: 7.922 kB / 1.381 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.207, allocations: 8 kB / 1.381 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005406/1.207, allocations: 0.4986 MB / 1.381 GB, free: 5.859 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.382e-05/1.207, allocations: 107.8 kB / 1.381 GB, free: 5.738 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/1.207, allocations: 7.625 kB / 1.381 GB, free: 5.734 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/1.207, allocations: 15.23 kB / 1.381 GB, free: 5.727 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/1.208, allocations: 27.58 kB / 1.381 GB, free: 5.703 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/1.208, allocations: 15.56 kB / 1.381 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001564/1.208, allocations: 175.2 kB / 1.381 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.208, allocations: 0 / 1.381 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003817/1.208, allocations: 104.6 kB / 1.381 GB, free: 5.453 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 43 ($cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo.u[1],extIndBoo.u[2],extIndBoo.u[3],extIndBoo.u[4],extIndBoo.y,extIndBoo1.u[1],extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.u[4],extIndBoo1.y,extIndBoo2.u[1],extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.u[4],extIndBoo2.y,extIndBoo3.index,extIndBoo3.u[1],extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.u[4],extIndBoo3.y,extIndBoo4.index,extIndBoo4.u[1],extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.u[4],extIndBoo4.y,booPul.y,booPul1.y,intPul.booPul.y,intPul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008932/1.209, allocations: 1.075 MB / 1.383 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000876/1.21, allocations: 0.7384 MB / 1.383 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.21, allocations: 0 / 1.383 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002447/1.21, allocations: 191 kB / 1.383 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/1.211, allocations: 63.33 kB / 1.384 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/1.212, allocations: 0.5416 MB / 1.384 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/1.212, allocations: 0.7735 MB / 1.385 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001817/1.212, allocations: 90.88 kB / 1.385 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/1.212, allocations: 103.5 kB / 1.385 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/1.212, allocations: 0 / 1.385 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02096/1.233, allocations: 7.701 MB / 1.393 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/1.234, allocations: 170.8 kB / 1.393 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.025/3.258, allocations: 0 / 1.393 GB, free: 10.53 MB / 0.8542 GB (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/linux/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 --timeout=50 --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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat does not exist to compare? outputFormat=mat