Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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.Logical.Validation.Not,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not",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.288/2.288, allocations: 393.5 MB / 408.4 MB, free: 11 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.001142/0.001142, allocations: 182.3 kB / 0.4901 GB, free: 2.258 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.543/1.543, allocations: 223.1 MB / 0.7992 GB, free: 15.67 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.0009946/0.0009947, allocations: 98.5 kB / 0.9396 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00046/0.00046, allocations: 14.78 kB / 1.09 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3081, allocations: 143 MB / 1.229 GB, free: 85.38 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2268/0.535, allocations: 150.1 MB / 1.376 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.5353, allocations: 71.95 kB / 1.376 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.005478/0.5408, allocations: 1.786 MB / 1.378 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.385e-06/0.5408, allocations: 0 / 1.378 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.5409, allocations: 0 / 1.378 GB, free: 13.19 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004733/0.5413, allocations: 373 kB / 1.378 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.5414, allocations: 8.562 kB / 1.378 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.946e-05/0.5415, allocations: 38.55 kB / 1.378 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.5415, allocations: 4 kB / 1.378 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.5417, allocations: 175 kB / 1.378 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.5417, allocations: 0 / 1.378 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.5417, allocations: 4 kB / 1.378 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.5419, allocations: 41.69 kB / 1.378 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.5419, allocations: 0 / 1.378 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.5419, allocations: 0 / 1.378 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.5419, allocations: 4 kB / 1.378 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.508e-05/0.542, allocations: 15.92 kB / 1.378 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004355/0.5424, allocations: 284.9 kB / 1.379 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 4.88e-05/0.5425, allocations: 18.58 kB / 1.379 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-06/0.5425, allocations: 4.062 kB / 1.379 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.5427, allocations: 63.33 kB / 1.379 GB, free: 12 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 3.927e-06/0.5427, allocations: 0 / 1.379 GB, free: 12 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0002035/0.5429, allocations: 65.53 kB / 1.379 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.5429, allocations: 59.36 kB / 1.379 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.912e-05/0.543, allocations: 104.9 kB / 1.379 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.5431, allocations: 29.7 kB / 1.379 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/0.5431, allocations: 80.14 kB / 1.379 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.459e-05/0.5431, allocations: 11.91 kB / 1.379 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.348e-06/0.5432, allocations: 4 kB / 1.379 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.5433, allocations: 314.8 kB / 1.379 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.768e-05/0.5434, allocations: 27.98 kB / 1.379 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.637e-05/0.5435, allocations: 50.69 kB / 1.379 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.747e-05/0.5436, allocations: 61.72 kB / 1.379 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.5436, allocations: 0 / 1.379 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000269/0.5438, allocations: 143.3 kB / 1.38 GB, free: 11 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/0.5439, allocations: 37.7 kB / 1.38 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.5439, allocations: 3.984 kB / 1.38 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.5439, allocations: 0 / 1.38 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.683e-05/0.544, allocations: 0 / 1.38 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.544, allocations: 4 kB / 1.38 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.5442, allocations: 43.92 kB / 1.38 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.5442, allocations: 4 kB / 1.38 GB, free: 10.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001062/0.5443, allocations: 117.8 kB / 1.38 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.5443, allocations: 7.984 kB / 1.38 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.357e-05/0.5443, allocations: 3.5 kB / 1.38 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.5444, allocations: 0 / 1.38 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5444, allocations: 3.938 kB / 1.38 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.5444, allocations: 0 / 1.38 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.5445, allocations: 165.6 kB / 1.38 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5445, allocations: 0 / 1.38 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.137e-06/0.5445, allocations: 4 kB / 1.38 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.5445, allocations: 0 / 1.38 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.5446, allocations: 7.984 kB / 1.38 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.5446, allocations: 0 / 1.38 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.5446, allocations: 0 / 1.38 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.5447, allocations: 77.08 kB / 1.38 GB, free: 10.44 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.235e-05/0.5447, allocations: 81.05 kB / 1.38 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.5448, allocations: 8 kB / 1.38 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.402e-05/0.5448, allocations: 0 / 1.38 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-05/0.5448, allocations: 3.984 kB / 1.38 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.5448, allocations: 0 / 1.38 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.538e-05/0.5449, allocations: 87.72 kB / 1.38 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.823e-06/0.5449, allocations: 0 / 1.38 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000221/0.5451, allocations: 27.94 kB / 1.38 GB, free: 10.22 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004571/0.5456, allocations: 0.6364 MB / 1.381 GB, free: 9.555 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002408/0.5458, allocations: 127.3 kB / 1.381 GB, free: 9.418 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5458, allocations: 0 / 1.381 GB, free: 9.418 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.77e-05/0.5459, allocations: 12 kB / 1.381 GB, free: 9.406 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.5461, allocations: 4.859 kB / 1.381 GB, free: 9.402 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006616/0.5467, allocations: 0.6362 MB / 1.382 GB, free: 8.707 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.547, allocations: 0.6848 MB / 1.382 GB, free: 7.996 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.315e-05/0.5471, allocations: 0 / 1.382 GB, free: 7.996 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.744e-05/0.5471, allocations: 15.42 kB / 1.382 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of SimCode: time 3e-07/0.5471, allocations: 3.938 kB / 1.382 GB, free: 7.977 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01439/0.5615, allocations: 1.648 MB / 1.384 GB, free: 6.465 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/0.5618, allocations: 186.5 kB / 1.384 GB, free: 6.223 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.537/2.099, allocations: 4 kB / 1.384 GB, free: 6.219 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat does not exist to compare? outputFormat=mat