Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.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.Logical.Validation.Nand,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",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.392/2.392, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001083/0.001083, allocations: 179.3 kB / 498.1 MB, free: 5.777 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.63/1.63, allocations: 223.1 MB / 0.7948 GB, free: 17.97 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.00109/0.00109, allocations: 98.55 kB / 0.9346 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004442/0.0004444, allocations: 10.5 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3346, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2037/0.5384, allocations: 149.4 MB / 1.369 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.5387, allocations: 71.95 kB / 1.369 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009294/0.548, allocations: 2.934 MB / 1.372 GB, free: 9.664 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.045e-06/0.548, allocations: 0 / 1.372 GB, free: 9.664 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.5481, allocations: 4 kB / 1.372 GB, free: 9.66 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006213/0.5487, allocations: 415.3 kB / 1.372 GB, free: 9.195 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.5487, allocations: 8.031 kB / 1.372 GB, free: 9.188 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.472e-05/0.5488, allocations: 46.48 kB / 1.372 GB, free: 9.133 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.6e-05/0.5489, allocations: 7.906 kB / 1.372 GB, free: 9.125 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.5491, allocations: 175 kB / 1.372 GB, free: 8.914 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.5491, allocations: 4 kB / 1.372 GB, free: 8.91 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.5491, allocations: 8 kB / 1.372 GB, free: 8.902 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.5493, allocations: 57.67 kB / 1.372 GB, free: 8.84 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.5493, allocations: 0 / 1.372 GB, free: 8.84 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.5493, allocations: 0 / 1.372 GB, free: 8.84 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.5493, allocations: 0 / 1.372 GB, free: 8.84 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.469e-05/0.5494, allocations: 12 kB / 1.372 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005915/0.55, allocations: 356.7 kB / 1.373 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.569e-05/0.5501, allocations: 34.56 kB / 1.373 GB, free: 8.387 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.5501, allocations: 0 / 1.373 GB, free: 8.387 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002063/0.5503, allocations: 83.31 kB / 1.373 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 2.295e-06/0.5503, allocations: 3.938 kB / 1.373 GB, free: 8.289 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.000301/0.5506, allocations: 101.7 kB / 1.373 GB, free: 8.184 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.5507, allocations: 59.34 kB / 1.373 GB, free: 8.113 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.5508, allocations: 117.1 kB / 1.373 GB, free: 7.988 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/0.5509, allocations: 29.7 kB / 1.373 GB, free: 7.953 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.777e-05/0.5509, allocations: 88.33 kB / 1.373 GB, free: 7.863 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.551, allocations: 15.81 kB / 1.373 GB, free: 7.848 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.078e-05/0.551, allocations: 4 kB / 1.373 GB, free: 7.844 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.5512, allocations: 318.8 kB / 1.374 GB, free: 7.523 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.5513, allocations: 59.97 kB / 1.374 GB, free: 7.465 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.5515, allocations: 96.19 kB / 1.374 GB, free: 7.355 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.5516, allocations: 116.6 kB / 1.374 GB, free: 7.23 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5516, allocations: 0 / 1.374 GB, free: 7.23 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000462/0.5521, allocations: 260.8 kB / 1.374 GB, free: 6.957 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.65e-05/0.5522, allocations: 69.27 kB / 1.374 GB, free: 6.879 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.5522, allocations: 4 kB / 1.374 GB, free: 6.875 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.5522, allocations: 4.125 kB / 1.374 GB, free: 6.871 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.348e-05/0.5523, allocations: 4 kB / 1.374 GB, free: 6.867 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.5523, allocations: 3.938 kB / 1.374 GB, free: 6.863 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/0.5526, allocations: 79.83 kB / 1.374 GB, free: 6.785 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/0.5527, allocations: 16.36 kB / 1.374 GB, free: 6.77 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,nand1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001112/0.5528, allocations: 121.8 kB / 1.374 GB, free: 6.641 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/0.5528, allocations: 7.906 kB / 1.374 GB, free: 6.633 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.275e-05/0.5529, allocations: 4.375 kB / 1.374 GB, free: 6.625 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.5529, allocations: 4 kB / 1.374 GB, free: 6.621 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.5529, allocations: 4 kB / 1.374 GB, free: 6.617 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.5529, allocations: 3.984 kB / 1.374 GB, free: 6.613 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.5531, allocations: 181.6 kB / 1.375 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.5531, allocations: 0 / 1.375 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.957e-06/0.5531, allocations: 0 / 1.375 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.5531, allocations: 3.984 kB / 1.375 GB, free: 6.383 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.5531, allocations: 7.984 kB / 1.375 GB, free: 6.375 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5531, allocations: 0 / 1.375 GB, free: 6.375 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.5531, allocations: 0 / 1.375 GB, free: 6.375 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.5533, allocations: 113 kB / 1.375 GB, free: 6.246 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.5533, allocations: 92.94 kB / 1.375 GB, free: 6.137 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.5534, allocations: 0 / 1.375 GB, free: 6.137 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.02e-05/0.5534, allocations: 0 / 1.375 GB, free: 6.137 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.5535, allocations: 7.984 kB / 1.375 GB, free: 6.129 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.5535, allocations: 8 kB / 1.375 GB, free: 6.121 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.15e-05/0.5535, allocations: 95.2 kB / 1.375 GB, free: 6.027 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5535, allocations: 0 / 1.375 GB, free: 6.027 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002592/0.5538, allocations: 32 kB / 1.375 GB, free: 5.996 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nand1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000527/0.5543, allocations: 0.6628 MB / 1.376 GB, free: 5.305 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003595/0.5547, allocations: 242.7 kB / 1.376 GB, free: 5.043 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.5547, allocations: 0 / 1.376 GB, free: 5.043 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.916e-05/0.5548, allocations: 28.23 kB / 1.376 GB, free: 5.016 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.555, allocations: 15.98 kB / 1.376 GB, free: 5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000965/0.556, allocations: 0.9987 MB / 1.377 GB, free: 3.93 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.5563, allocations: 0.6948 MB / 1.378 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.693e-05/0.5563, allocations: 7.781 kB / 1.378 GB, free: 3.203 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.5564, allocations: 23.42 kB / 1.378 GB, free: 3.18 MB / 0.8698 GB Notification: Performance of SimCode: time 3.61e-07/0.5564, allocations: 0 / 1.378 GB, free: 3.18 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01415/0.5705, allocations: 2.519 MB / 1.38 GB, free: 0.7969 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/0.5708, allocations: 181.9 kB / 1.38 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/2.165, allocations: 4.062 kB / 1.38 GB, free: 0.5508 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat does not exist to compare? outputFormat=mat