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.316/2.316, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001294/0.001293, allocations: 186.9 kB / 0.4901 GB, free: 2.234 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.698/1.698, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.0009587/0.0009586, allocations: 110.1 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004581/0.0004582, allocations: 10.94 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3769, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2116/0.5886, allocations: 150.8 MB / 1.377 GB, free: 2.633 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.589, allocations: 83.88 kB / 1.377 GB, free: 2.551 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02031/0.6093, allocations: 6.872 MB / 1.383 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6093, allocations: 0 / 1.383 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.353e-05/0.6094, allocations: 12 kB / 1.383 GB, free: 11.66 MB / 0.8855 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.001001/0.6104, allocations: 0.6234 MB / 1.384 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.6105, allocations: 8.562 kB / 1.384 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001044/0.6106, allocations: 54.5 kB / 1.384 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.6107, allocations: 35.72 kB / 1.384 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006519/0.6114, allocations: 314.8 kB / 1.384 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.121e-05/0.6115, allocations: 24.38 kB / 1.384 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.581e-05/0.6116, allocations: 39.98 kB / 1.384 GB, free: 10.44 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004147/0.612, allocations: 237 kB / 1.385 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.612, allocations: 0 / 1.385 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.6121, allocations: 8 kB / 1.385 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.6121, allocations: 7.953 kB / 1.385 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002436/0.6123, allocations: 147.3 kB / 1.385 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.6137, allocations: 0.8201 MB / 1.386 GB, free: 9.172 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003237/0.614, allocations: 202.4 kB / 1.386 GB, free: 8.965 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.614, allocations: 4 kB / 1.386 GB, free: 8.961 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004226/0.6145, allocations: 297.6 kB / 1.386 GB, free: 8.645 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=39): time 2.004e-06/0.6145, allocations: 4 kB / 1.386 GB, free: 8.641 MB / 0.8855 GB Notification: Performance of matching and sorting (n=39): time 0.0008746/0.6154, allocations: 0.5463 MB / 1.387 GB, free: 8.09 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.969e-05/0.6155, allocations: 132.5 kB / 1.387 GB, free: 7.93 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.6157, allocations: 228 kB / 1.387 GB, free: 7.699 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.378e-05/0.6158, allocations: 45.7 kB / 1.387 GB, free: 7.648 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.6159, allocations: 125 kB / 1.387 GB, free: 7.523 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.531e-05/0.616, allocations: 87.03 kB / 1.387 GB, free: 7.438 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.6161, allocations: 12 kB / 1.387 GB, free: 7.426 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.6162, allocations: 350.8 kB / 1.388 GB, free: 7.074 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003884/0.6166, allocations: 224.3 kB / 1.388 GB, free: 6.855 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004359/0.617, allocations: 320.8 kB / 1.388 GB, free: 6.508 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004628/0.6175, allocations: 359 kB / 1.388 GB, free: 6.133 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.6175, allocations: 0 / 1.388 GB, free: 6.133 MB / 0.8855 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001173/0.6187, allocations: 0.7534 MB / 1.389 GB, free: 5.348 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.623e-05/0.6188, allocations: 141 kB / 1.389 GB, free: 5.188 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.6188, allocations: 4 kB / 1.389 GB, free: 5.184 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.6189, allocations: 4 kB / 1.389 GB, free: 5.18 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.449e-05/0.619, allocations: 19.86 kB / 1.389 GB, free: 5.16 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.619, allocations: 7.938 kB / 1.389 GB, free: 5.152 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007184/0.6197, allocations: 155.9 kB / 1.389 GB, free: 5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.6198, allocations: 71.91 kB / 1.39 GB, free: 4.93 MB / 0.8855 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 () * Number of clocked 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.000222/0.62, allocations: 194.4 kB / 1.39 GB, free: 4.73 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.6201, allocations: 27.72 kB / 1.39 GB, free: 4.703 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006394/0.6207, allocations: 456.5 kB / 1.39 GB, free: 4.254 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.6208, allocations: 8 kB / 1.39 GB, free: 4.246 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6208, allocations: 0 / 1.39 GB, free: 4.246 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.6208, allocations: 3.984 kB / 1.39 GB, free: 4.242 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009279/0.6217, allocations: 0.8263 MB / 1.391 GB, free: 3.359 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.6217, allocations: 0 / 1.391 GB, free: 3.359 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.827e-05/0.6218, allocations: 23.92 kB / 1.391 GB, free: 3.336 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.6218, allocations: 0 / 1.391 GB, free: 3.336 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.6219, allocations: 8 kB / 1.391 GB, free: 3.328 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.6219, allocations: 4 kB / 1.391 GB, free: 3.324 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6219, allocations: 0 / 1.391 GB, free: 3.324 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005666/0.6225, allocations: 0.5031 MB / 1.392 GB, free: 2.805 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.949e-05/0.6225, allocations: 112.7 kB / 1.392 GB, free: 2.676 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.6226, allocations: 8 kB / 1.392 GB, free: 2.668 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.6227, allocations: 11.98 kB / 1.392 GB, free: 2.656 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/0.6228, allocations: 31.91 kB / 1.392 GB, free: 2.625 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.6228, allocations: 15.98 kB / 1.392 GB, free: 2.609 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001723/0.623, allocations: 182 kB / 1.392 GB, free: 2.43 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/0.623, allocations: 0 / 1.392 GB, free: 2.43 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000417/0.6234, allocations: 99.98 kB / 1.392 GB, free: 2.332 MB / 0.8855 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 () * Number of clocked 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.0009331/0.6244, allocations: 1.085 MB / 1.393 GB, free: 1.219 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009059/0.6253, allocations: 0.7407 MB / 1.394 GB, free: 440 kB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6253, allocations: 0 / 1.394 GB, free: 440 kB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.6256, allocations: 203.6 kB / 1.394 GB, free: 236 kB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.6259, allocations: 48.53 kB / 1.394 GB, free: 188 kB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.6278, allocations: 2.18 MB / 1.396 GB, free: 13.92 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.6281, allocations: 0.7774 MB / 1.397 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001967/0.6283, allocations: 98.84 kB / 1.397 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.6285, allocations: 103.4 kB / 1.397 GB, free: 12.92 MB / 0.9011 GB Notification: Performance of SimCode: time 6.91e-07/0.6285, allocations: 0 / 1.397 GB, free: 12.92 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.6525, allocations: 7.551 MB / 1.404 GB, free: 5.594 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/0.6528, allocations: 193.3 kB / 1.405 GB, free: 5.355 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.149/2.801, allocations: 3.938 kB / 1.405 GB, free: 5.352 MB / 0.9011 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