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.159/2.159, allocations: 390.5 MB / 398 MB, free: 10.92 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.001088/0.001088, allocations: 176.8 kB / 491.2 MB, free: 1.566 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.595/1.595, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.0009684/0.0009684, allocations: 86.83 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.087e-05/2.081e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3101, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.053/1.363, allocations: 149.4 MB / 1.358 GB, free: 17.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/1.363, allocations: 70.62 kB / 1.358 GB, free: 17.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00861/1.372, allocations: 2.903 MB / 1.361 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.552e-06/1.372, allocations: 0 / 1.361 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.398e-06/1.372, allocations: 3.969 kB / 1.361 GB, free: 32.76 MB / 0.8386 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.0004127/1.372, allocations: 420.7 kB / 1.362 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/1.372, allocations: 11.38 kB / 1.362 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.646e-05/1.372, allocations: 7.688 kB / 1.362 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/1.373, allocations: 164.4 kB / 1.362 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/1.373, allocations: 3.688 kB / 1.362 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/1.373, allocations: 8.953 kB / 1.362 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.88e-05/1.373, allocations: 16.09 kB / 1.362 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.64e-05/1.373, allocations: 44.02 kB / 1.362 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/1.373, allocations: 0 / 1.362 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/1.373, allocations: 3.938 kB / 1.362 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/1.373, allocations: 1.266 kB / 1.362 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/1.373, allocations: 329.9 kB / 1.362 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.748e-05/1.373, allocations: 39.78 kB / 1.362 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.511e-05/1.373, allocations: 12.08 kB / 1.362 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.123e-06/1.373, allocations: 0 / 1.362 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/1.374, allocations: 84.83 kB / 1.362 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/1.374, allocations: 0 / 1.362 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001781/1.374, allocations: 77.28 kB / 1.362 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/1.374, allocations: 58.16 kB / 1.362 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.441e-05/1.374, allocations: 115.1 kB / 1.363 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/1.374, allocations: 29.52 kB / 1.363 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.185e-05/1.374, allocations: 90.83 kB / 1.363 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/1.374, allocations: 18.38 kB / 1.363 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-05/1.374, allocations: 3.812 kB / 1.363 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.945e-05/1.374, allocations: 325.3 kB / 1.363 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.906e-05/1.374, allocations: 45.42 kB / 1.363 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/1.374, allocations: 96.25 kB / 1.363 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000284/1.375, allocations: 63.2 kB / 1.363 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.375, allocations: 0 / 1.363 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004392/1.375, allocations: 206 kB / 1.363 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.273e-05/1.375, allocations: 68.34 kB / 1.363 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.375, allocations: 3.844 kB / 1.363 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/1.375, allocations: 0 / 1.363 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.982e-05/1.375, allocations: 7.781 kB / 1.364 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/1.375, allocations: 0 / 1.364 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003077/1.376, allocations: 70.81 kB / 1.364 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/1.376, allocations: 9.594 kB / 1.364 GB, free: 30.96 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 9.828e-05/1.376, allocations: 117.6 kB / 1.364 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.877e-05/1.376, allocations: 84.36 kB / 1.364 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.102e-05/1.376, allocations: 9.453 kB / 1.364 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/1.376, allocations: 4.625 kB / 1.364 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/1.376, allocations: 0 / 1.364 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.376, allocations: 3.969 kB / 1.364 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/1.376, allocations: 5.922 kB / 1.364 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.013e-05/1.376, allocations: 145.1 kB / 1.364 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.376, allocations: 0 / 1.364 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.173e-05/1.376, allocations: 9.125 kB / 1.364 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/1.376, allocations: 480 / 1.364 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/1.376, allocations: 1.406 kB / 1.364 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/1.376, allocations: 4 kB / 1.364 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.376, allocations: 0 / 1.364 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/1.376, allocations: 113.5 kB / 1.364 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.741e-05/1.376, allocations: 84.95 kB / 1.364 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/1.376, allocations: 1.828 kB / 1.364 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.859e-05/1.376, allocations: 3.844 kB / 1.364 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/1.376, allocations: 5.766 kB / 1.364 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/1.376, allocations: 5.203 kB / 1.364 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.069e-05/1.376, allocations: 92.09 kB / 1.364 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.376, allocations: 0 / 1.364 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002451/1.377, allocations: 27.06 kB / 1.364 GB, free: 30.38 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.00041/1.377, allocations: 0.6563 MB / 1.365 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002602/1.377, allocations: 229.2 kB / 1.365 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.377, allocations: 3.938 kB / 1.365 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.818e-05/1.377, allocations: 24.06 kB / 1.365 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/1.378, allocations: 18.34 kB / 1.365 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003764/1.378, allocations: 127.9 kB / 1.365 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/1.378, allocations: 0.6926 MB / 1.366 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.969e-05/1.378, allocations: 9.266 kB / 1.366 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.626e-05/1.378, allocations: 18.88 kB / 1.366 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.378, allocations: 0 / 1.366 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0209/1.399, allocations: 2.153 MB / 1.368 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/1.399, allocations: 135.8 kB / 1.368 GB, free: 28.47 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/3.089, allocations: 1.094 kB / 1.368 GB, free: 28.47 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