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.355/2.355, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001086/0.001086, allocations: 184.1 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 221.3 MB / 0.7915 GB, free: 5.363 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.0009582/0.0009583, allocations: 91.91 kB / 0.9317 GB, free: 5.672 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.036e-05/4.039e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3165, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.071/1.388, allocations: 150.1 MB / 1.365 GB, free: 3.926 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/1.388, allocations: 63.53 kB / 1.366 GB, free: 3.895 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00876/1.397, allocations: 2.915 MB / 1.368 GB, free: 1.359 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.452e-06/1.397, allocations: 0 / 1.368 GB, free: 1.359 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.454e-06/1.397, allocations: 0 / 1.368 GB, free: 1.359 MB / 0.823 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.0005374/1.398, allocations: 418 kB / 1.369 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/1.398, allocations: 12.03 kB / 1.369 GB, free: 0.8945 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.757e-05/1.398, allocations: 31.56 kB / 1.369 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.333e-05/1.398, allocations: 15.91 kB / 1.369 GB, free: 0.8398 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/1.398, allocations: 167 kB / 1.369 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/1.398, allocations: 11.92 kB / 1.369 GB, free: 0.625 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/1.398, allocations: 11.75 kB / 1.369 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/1.398, allocations: 40.69 kB / 1.369 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/1.398, allocations: 4.875 kB / 1.369 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/1.398, allocations: 0 / 1.369 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/1.398, allocations: 0 / 1.369 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.144e-05/1.398, allocations: 15.44 kB / 1.369 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005134/1.399, allocations: 358.8 kB / 1.369 GB, free: 204 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.22e-05/1.399, allocations: 33.69 kB / 1.369 GB, free: 164 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.553e-05/1.399, allocations: 20.44 kB / 1.369 GB, free: 144 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/1.399, allocations: 0 / 1.369 GB, free: 144 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/1.399, allocations: 81.62 kB / 1.37 GB, free: 60 kB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/1.399, allocations: 4 kB / 1.37 GB, free: 56 kB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0002421/1.399, allocations: 96.39 kB / 1.37 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/1.399, allocations: 54.47 kB / 1.37 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/1.4, allocations: 115.6 kB / 1.37 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/1.4, allocations: 29.7 kB / 1.37 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.721e-05/1.4, allocations: 87.33 kB / 1.37 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/1.4, allocations: 19.11 kB / 1.37 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.779e-05/1.4, allocations: 7.875 kB / 1.37 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001242/1.4, allocations: 314.8 kB / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/1.4, allocations: 60.92 kB / 1.37 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/1.4, allocations: 88.91 kB / 1.37 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/1.4, allocations: 108.1 kB / 1.37 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/1.4, allocations: 8 kB / 1.37 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000412/1.401, allocations: 257.7 kB / 1.371 GB, free: 14.86 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.368e-05/1.401, allocations: 67.27 kB / 1.371 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/1.401, allocations: 0 / 1.371 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/1.401, allocations: 7.938 kB / 1.371 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.883e-05/1.401, allocations: 0 / 1.371 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/1.401, allocations: 7.953 kB / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000322/1.401, allocations: 68.53 kB / 1.371 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/1.401, allocations: 19.05 kB / 1.371 GB, free: 14.69 MB / 0.8386 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 () * 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 8.344e-05/1.401, allocations: 116.5 kB / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/1.401, allocations: 7.906 kB / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.156e-05/1.401, allocations: 7.25 kB / 1.371 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/1.401, allocations: 7.938 kB / 1.371 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/1.401, allocations: 0 / 1.371 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/1.401, allocations: 7.938 kB / 1.371 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/1.402, allocations: 175.6 kB / 1.371 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.402, allocations: 0 / 1.371 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.757e-06/1.402, allocations: 0 / 1.371 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/1.402, allocations: 4 kB / 1.371 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/1.402, allocations: 7.984 kB / 1.371 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/1.402, allocations: 0 / 1.371 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/1.402, allocations: 0 / 1.371 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/1.402, allocations: 109.8 kB / 1.371 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/1.402, allocations: 81.09 kB / 1.371 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/1.402, allocations: 4 kB / 1.371 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.822e-05/1.402, allocations: 0 / 1.371 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/1.402, allocations: 14.86 kB / 1.371 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/1.402, allocations: 0 / 1.371 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.041e-05/1.402, allocations: 86.22 kB / 1.371 GB, free: 14.01 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.402, allocations: 0 / 1.371 GB, free: 14.01 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000267/1.402, allocations: 35.5 kB / 1.372 GB, free: 13.98 MB / 0.8386 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 () * 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.0004694/1.403, allocations: 0.6659 MB / 1.372 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003105/1.403, allocations: 244.5 kB / 1.372 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.403, allocations: 0 / 1.372 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.367e-05/1.403, allocations: 22.5 kB / 1.372 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/1.403, allocations: 16.61 kB / 1.372 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/1.404, allocations: 141.6 kB / 1.373 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/1.404, allocations: 0.6929 MB / 1.373 GB, free: 12.17 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.774e-05/1.404, allocations: 7.781 kB / 1.373 GB, free: 12.16 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/1.404, allocations: 21.73 kB / 1.373 GB, free: 12.15 MB / 0.8386 GB Notification: Performance of SimCode: time 2.465e-06/1.404, allocations: 288 / 1.373 GB, free: 12.15 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01366/1.418, allocations: 2.564 MB / 1.376 GB, free: 9.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002075/1.418, allocations: 156.9 kB / 1.376 GB, free: 9.504 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/3.13, allocations: 0 / 1.376 GB, free: 9.504 MB / 0.8386 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