Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.36/2.36, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001322/0.001322, allocations: 181 kB / 498.1 MB, free: 5.742 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.471/1.471, allocations: 223.2 MB / 0.7948 GB, free: 18.91 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.0009463/0.0009463, allocations: 98.77 kB / 0.9346 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004075/0.0004076, allocations: 13.19 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3094, allocations: 142.4 MB / 1.223 GB, free: 89.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1955/0.5049, allocations: 150 MB / 1.369 GB, free: 3.273 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003381/0.5053, allocations: 71.95 kB / 1.37 GB, free: 3.203 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02022/0.5255, allocations: 6.875 MB / 1.376 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5256, allocations: 0 / 1.376 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.94e-05/0.5256, allocations: 7.938 kB / 1.376 GB, free: 12.3 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.000931/0.5266, allocations: 0.6226 MB / 1.377 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.512e-05/0.5266, allocations: 12.03 kB / 1.377 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/0.5268, allocations: 58.5 kB / 1.377 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.5269, allocations: 39.62 kB / 1.377 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005723/0.5275, allocations: 303 kB / 1.377 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.063e-05/0.5276, allocations: 28.31 kB / 1.377 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.564e-05/0.5276, allocations: 32 kB / 1.377 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003898/0.528, allocations: 232.5 kB / 1.378 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.5281, allocations: 0 / 1.378 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.5281, allocations: 12 kB / 1.378 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.5281, allocations: 7.953 kB / 1.378 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/0.5284, allocations: 151.3 kB / 1.378 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.5297, allocations: 0.8162 MB / 1.378 GB, free: 9.824 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/0.53, allocations: 202.5 kB / 1.379 GB, free: 9.617 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.53, allocations: 7.938 kB / 1.379 GB, free: 9.609 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004117/0.5304, allocations: 298.8 kB / 1.379 GB, free: 9.293 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=39): time 1.783e-06/0.5304, allocations: 0 / 1.379 GB, free: 9.293 MB / 0.8855 GB Notification: Performance of matching and sorting (n=39): time 0.0008543/0.5313, allocations: 0.5409 MB / 1.379 GB, free: 8.746 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.085e-05/0.5314, allocations: 140.5 kB / 1.38 GB, free: 8.578 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.5316, allocations: 228 kB / 1.38 GB, free: 8.352 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.673e-05/0.5317, allocations: 41.7 kB / 1.38 GB, free: 8.305 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.5318, allocations: 133 kB / 1.38 GB, free: 8.172 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.935e-05/0.5319, allocations: 75.11 kB / 1.38 GB, free: 8.098 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.5319, allocations: 12 kB / 1.38 GB, free: 8.086 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5321, allocations: 342.8 kB / 1.38 GB, free: 7.742 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/0.5325, allocations: 228.3 kB / 1.381 GB, free: 7.516 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004366/0.5329, allocations: 328.7 kB / 1.381 GB, free: 7.16 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004631/0.5334, allocations: 354.6 kB / 1.381 GB, free: 6.789 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5334, allocations: 0 / 1.381 GB, free: 6.789 MB / 0.8855 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00112/0.5345, allocations: 0.7577 MB / 1.382 GB, free: 6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.813e-05/0.5346, allocations: 138.8 kB / 1.382 GB, free: 5.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.5346, allocations: 256 / 1.382 GB, free: 5.84 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.5347, allocations: 8 kB / 1.382 GB, free: 5.832 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.194e-05/0.5348, allocations: 23.92 kB / 1.382 GB, free: 5.809 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.5348, allocations: 7.938 kB / 1.382 GB, free: 5.801 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007174/0.5355, allocations: 159.7 kB / 1.382 GB, free: 5.645 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/0.5356, allocations: 75.94 kB / 1.382 GB, free: 5.57 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.0002341/0.5359, allocations: 189.7 kB / 1.383 GB, free: 5.375 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/0.5359, allocations: 27.62 kB / 1.383 GB, free: 5.348 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006346/0.5366, allocations: 456.6 kB / 1.383 GB, free: 4.895 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.5366, allocations: 4 kB / 1.383 GB, free: 4.891 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.5366, allocations: 0 / 1.383 GB, free: 4.891 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.5366, allocations: 3.984 kB / 1.383 GB, free: 4.887 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.5376, allocations: 0.8185 MB / 1.384 GB, free: 4.012 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.5377, allocations: 4 kB / 1.384 GB, free: 4.008 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.191e-05/0.5377, allocations: 23.92 kB / 1.384 GB, free: 3.984 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.5378, allocations: 4 kB / 1.384 GB, free: 3.98 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.5378, allocations: 8 kB / 1.384 GB, free: 3.973 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.5378, allocations: 0 / 1.384 GB, free: 3.973 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5378, allocations: 7.938 kB / 1.384 GB, free: 3.965 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005856/0.5384, allocations: 0.4993 MB / 1.384 GB, free: 3.449 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.024e-05/0.5385, allocations: 108.7 kB / 1.384 GB, free: 3.324 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.244e-05/0.5385, allocations: 8 kB / 1.385 GB, free: 3.316 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.5387, allocations: 15.98 kB / 1.385 GB, free: 3.301 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.597e-05/0.5388, allocations: 27.97 kB / 1.385 GB, free: 3.273 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/0.5388, allocations: 16 kB / 1.385 GB, free: 3.258 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000167/0.539, allocations: 181.9 kB / 1.385 GB, free: 3.082 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.539, allocations: 0 / 1.385 GB, free: 3.082 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004165/0.5394, allocations: 103.9 kB / 1.385 GB, free: 2.98 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.001056/0.5405, allocations: 1.086 MB / 1.386 GB, free: 1.867 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000982/0.5415, allocations: 0.7315 MB / 1.387 GB, free: 1.086 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5415, allocations: 0 / 1.387 GB, free: 1.086 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002497/0.5417, allocations: 204.5 kB / 1.387 GB, free: 0.8867 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.5421, allocations: 60.41 kB / 1.387 GB, free: 0.8281 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.544, allocations: 2.187 MB / 1.389 GB, free: 14.56 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.5443, allocations: 0.7735 MB / 1.39 GB, free: 13.76 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002028/0.5445, allocations: 98.84 kB / 1.39 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.5447, allocations: 103.4 kB / 1.39 GB, free: 13.56 MB / 0.9011 GB Notification: Performance of SimCode: time 4.7e-07/0.5447, allocations: 0 / 1.39 GB, free: 13.56 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.5688, allocations: 7.553 MB / 1.397 GB, free: 6.215 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/0.5691, allocations: 187.2 kB / 1.398 GB, free: 5.977 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.982/2.551, allocations: 0 / 1.398 GB, free: 5.977 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat does not exist to compare? outputFormat=mat