Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.Or,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or",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.388/2.388, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001112/0.001112, allocations: 182.7 kB / 0.4901 GB, free: 2.219 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.571/1.571, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.0009431/0.0009431, allocations: 103.3 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.0003771, allocations: 11.12 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3293, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1937/0.5231, allocations: 150.2 MB / 1.376 GB, free: 3.293 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.5233, allocations: 67.97 kB / 1.376 GB, free: 3.227 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00879/0.5321, allocations: 2.938 MB / 1.379 GB, free: 292 kB / 0.8698 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5322, allocations: 0 / 1.379 GB, free: 292 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.5322, allocations: 0 / 1.379 GB, free: 292 kB / 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.0005388/0.5327, allocations: 419.3 kB / 1.379 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.5328, allocations: 12.56 kB / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.154e-05/0.5328, allocations: 34.56 kB / 1.379 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.609e-05/0.5329, allocations: 11.91 kB / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.5331, allocations: 171 kB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.5331, allocations: 12 kB / 1.379 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.5331, allocations: 8 kB / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.5333, allocations: 49.67 kB / 1.38 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.5333, allocations: 0 / 1.38 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.5333, allocations: 11.88 kB / 1.38 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.5333, allocations: 4 kB / 1.38 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.884e-05/0.5334, allocations: 8 kB / 1.38 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005248/0.5339, allocations: 352.8 kB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 7.57e-05/0.534, allocations: 34.56 kB / 1.38 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.534, allocations: 7.984 kB / 1.38 GB, free: 15 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001786/0.5342, allocations: 83.31 kB / 1.38 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.5342, allocations: 0 / 1.38 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0002501/0.5345, allocations: 97.66 kB / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.5345, allocations: 59.36 kB / 1.38 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.651e-05/0.5346, allocations: 117 kB / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.5346, allocations: 33.69 kB / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.107e-05/0.5347, allocations: 88.33 kB / 1.38 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.5348, allocations: 15.81 kB / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.778e-05/0.5348, allocations: 7.938 kB / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.5349, allocations: 318.8 kB / 1.381 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.535, allocations: 59.97 kB / 1.381 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.5352, allocations: 96.31 kB / 1.381 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.5353, allocations: 111.4 kB / 1.381 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.5354, allocations: 0 / 1.381 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004278/0.5358, allocations: 249.4 kB / 1.381 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.088e-05/0.5359, allocations: 71.52 kB / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.5359, allocations: 4 kB / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.5359, allocations: 4 kB / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.285e-05/0.5359, allocations: 15.86 kB / 1.381 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.5359, allocations: 4 kB / 1.381 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003321/0.5363, allocations: 75.8 kB / 1.381 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.538e-05/0.5363, allocations: 15.98 kB / 1.381 GB, free: 13.39 MB / 0.8855 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,or1.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.0001057/0.5364, allocations: 124.3 kB / 1.382 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.5364, allocations: 0 / 1.382 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.244e-05/0.5365, allocations: 12.38 kB / 1.382 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.5365, allocations: 4 kB / 1.382 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.5365, allocations: 0 / 1.382 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5365, allocations: 0 / 1.382 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.5367, allocations: 181.6 kB / 1.382 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.5367, allocations: 0 / 1.382 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.239e-05/0.5367, allocations: 7.938 kB / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.5367, allocations: 4 kB / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.5367, allocations: 0 / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.5367, allocations: 0 / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5367, allocations: 0 / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.5369, allocations: 117 kB / 1.382 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.9e-05/0.5369, allocations: 81.02 kB / 1.382 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.5369, allocations: 3.984 kB / 1.382 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.988e-05/0.537, allocations: 4 kB / 1.382 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.537, allocations: 0 / 1.382 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-06/0.537, allocations: 12.05 kB / 1.382 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.627e-05/0.5371, allocations: 91.22 kB / 1.382 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5371, allocations: 0 / 1.382 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002478/0.5373, allocations: 47.92 kB / 1.382 GB, free: 12.61 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.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.0005013/0.5379, allocations: 0.6521 MB / 1.383 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003255/0.5382, allocations: 247.2 kB / 1.383 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5382, allocations: 256 / 1.383 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.008e-05/0.5383, allocations: 35.92 kB / 1.383 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.5385, allocations: 12.27 kB / 1.383 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000802/0.5393, allocations: 0.995 MB / 1.384 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.5395, allocations: 0.6926 MB / 1.385 GB, free: 9.832 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.391e-05/0.5396, allocations: 7.781 kB / 1.385 GB, free: 9.824 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.923e-05/0.5396, allocations: 19.44 kB / 1.385 GB, free: 9.805 MB / 0.8855 GB Notification: Performance of SimCode: time 3.11e-07/0.5396, allocations: 0 / 1.385 GB, free: 9.805 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.5555, allocations: 2.536 MB / 1.387 GB, free: 7.41 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002323/0.5558, allocations: 184 kB / 1.387 GB, free: 7.168 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.565/2.121, allocations: 5 kB / 1.387 GB, free: 7.164 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat does not exist to compare? outputFormat=mat