Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",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.28/2.28, allocations: 390.3 MB / 405.3 MB, free: 13.28 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.001472/0.001472, allocations: 185 kB / 498.1 MB, free: 5.516 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.651/1.651, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.0008992/0.0008992, allocations: 98.59 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0006074/0.0006074, allocations: 10.44 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3042, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1792/0.4835, allocations: 149.4 MB / 1.369 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.4837, allocations: 71.95 kB / 1.369 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01245/0.4962, allocations: 4.078 MB / 1.373 GB, free: 8.41 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.525e-06/0.4963, allocations: 0 / 1.373 GB, free: 8.41 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.4963, allocations: 0 / 1.373 GB, free: 8.41 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005951/0.4969, allocations: 464.2 kB / 1.373 GB, free: 7.891 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.4969, allocations: 8.031 kB / 1.373 GB, free: 7.883 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.873e-05/0.497, allocations: 34.56 kB / 1.373 GB, free: 7.84 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.842e-05/0.4971, allocations: 15.91 kB / 1.373 GB, free: 7.824 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.4972, allocations: 175 kB / 1.374 GB, free: 7.613 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.4972, allocations: 15.98 kB / 1.374 GB, free: 7.598 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.912e-05/0.4973, allocations: 15.94 kB / 1.374 GB, free: 7.582 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.4974, allocations: 57.66 kB / 1.374 GB, free: 7.52 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.4974, allocations: 0 / 1.374 GB, free: 7.52 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.4975, allocations: 4 kB / 1.374 GB, free: 7.516 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.4975, allocations: 4 kB / 1.374 GB, free: 7.512 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.272e-05/0.4975, allocations: 19.98 kB / 1.374 GB, free: 7.492 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005948/0.4981, allocations: 416.5 kB / 1.374 GB, free: 7.035 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.37e-05/0.4982, allocations: 34.52 kB / 1.374 GB, free: 6.992 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.4982, allocations: 0 / 1.374 GB, free: 6.992 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.4984, allocations: 95.44 kB / 1.374 GB, free: 6.887 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.4984, allocations: 7.938 kB / 1.374 GB, free: 6.879 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0002954/0.4987, allocations: 137.5 kB / 1.374 GB, free: 6.738 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.4988, allocations: 63.34 kB / 1.374 GB, free: 6.664 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.4989, allocations: 122.8 kB / 1.375 GB, free: 6.539 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.551e-05/0.499, allocations: 41.64 kB / 1.375 GB, free: 6.492 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.746e-05/0.499, allocations: 100.1 kB / 1.375 GB, free: 6.391 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.4991, allocations: 15.81 kB / 1.375 GB, free: 6.375 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.43e-05/0.4991, allocations: 8 kB / 1.375 GB, free: 6.367 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4992, allocations: 322.8 kB / 1.375 GB, free: 6.043 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.4994, allocations: 87.95 kB / 1.375 GB, free: 5.957 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.4996, allocations: 143 kB / 1.375 GB, free: 5.797 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.4999, allocations: 169.1 kB / 1.375 GB, free: 5.613 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4999, allocations: 0 / 1.375 GB, free: 5.613 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005767/0.5004, allocations: 370.2 kB / 1.376 GB, free: 5.23 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.4e-05/0.5005, allocations: 101.1 kB / 1.376 GB, free: 5.113 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.5005, allocations: 0 / 1.376 GB, free: 5.113 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.5006, allocations: 11.94 kB / 1.376 GB, free: 5.102 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.92e-05/0.5006, allocations: 0 / 1.376 GB, free: 5.102 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.5006, allocations: 8.125 kB / 1.376 GB, free: 5.094 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004779/0.5011, allocations: 115.8 kB / 1.376 GB, free: 4.98 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.51e-05/0.5011, allocations: 19.98 kB / 1.376 GB, free: 4.961 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.y,$PRE.booPul3.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001276/0.5013, allocations: 125.8 kB / 1.376 GB, free: 4.828 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.5013, allocations: 15.89 kB / 1.376 GB, free: 4.812 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.632e-05/0.5013, allocations: 12.38 kB / 1.376 GB, free: 4.797 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.5014, allocations: 0 / 1.376 GB, free: 4.797 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5014, allocations: 3.953 kB / 1.376 GB, free: 4.793 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.5014, allocations: 0 / 1.376 GB, free: 4.793 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.5015, allocations: 189.6 kB / 1.376 GB, free: 4.559 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5015, allocations: 0 / 1.376 GB, free: 4.559 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.322e-05/0.5016, allocations: 4 kB / 1.376 GB, free: 4.555 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.5016, allocations: 3.938 kB / 1.376 GB, free: 4.551 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.5016, allocations: 0 / 1.376 GB, free: 4.551 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.5016, allocations: 4 kB / 1.376 GB, free: 4.547 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.5016, allocations: 4 kB / 1.376 GB, free: 4.543 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.5018, allocations: 145.2 kB / 1.376 GB, free: 4.383 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.5018, allocations: 85.02 kB / 1.377 GB, free: 4.281 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.5018, allocations: 0 / 1.377 GB, free: 4.281 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.302e-05/0.5019, allocations: 0 / 1.377 GB, free: 4.281 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.5019, allocations: 11.98 kB / 1.377 GB, free: 4.27 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.5019, allocations: 7.984 kB / 1.377 GB, free: 4.262 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.51e-05/0.502, allocations: 110 kB / 1.377 GB, free: 4.156 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.502, allocations: 0 / 1.377 GB, free: 4.156 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002701/0.5023, allocations: 51.94 kB / 1.377 GB, free: 4.105 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005145/0.5028, allocations: 0.6754 MB / 1.377 GB, free: 3.402 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000456/0.5033, allocations: 370.1 kB / 1.378 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5033, allocations: 0 / 1.378 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.881e-05/0.5034, allocations: 35.98 kB / 1.378 GB, free: 2.969 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.5036, allocations: 19.98 kB / 1.378 GB, free: 2.949 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009901/0.5046, allocations: 1.354 MB / 1.379 GB, free: 1.512 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.5048, allocations: 0.6965 MB / 1.38 GB, free: 0.7891 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.847e-05/0.5049, allocations: 12.42 kB / 1.38 GB, free: 0.7773 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.385e-05/0.5049, allocations: 23.81 kB / 1.38 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of SimCode: time 4.41e-07/0.5049, allocations: 3.938 kB / 1.38 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01602/0.521, allocations: 3.393 MB / 1.383 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/0.5212, allocations: 176.4 kB / 1.383 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.509/2.03, allocations: 4 kB / 1.383 GB, free: 13.25 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat does not exist to compare? outputFormat=mat