Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And3",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.336/2.336, 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.001155/0.001155, allocations: 183 kB / 0.4901 GB, free: 2.266 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.525/1.525, allocations: 223.1 MB / 0.7992 GB, free: 15.72 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.0009095/0.0009095, allocations: 110.5 kB / 0.9396 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003793/0.0003794, allocations: 14.16 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2696, allocations: 143 MB / 1.229 GB, free: 85.4 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1801/0.4497, allocations: 150.2 MB / 1.376 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.45, allocations: 63.97 kB / 1.376 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01251/0.4626, allocations: 4.076 MB / 1.38 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.769e-06/0.4626, allocations: 3.984 kB / 1.38 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.4626, allocations: 4 kB / 1.38 GB, free: 10.86 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006333/0.4633, allocations: 472.1 kB / 1.38 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.4633, allocations: 15.97 kB / 1.38 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.949e-05/0.4634, allocations: 38.56 kB / 1.381 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.309e-05/0.4635, allocations: 15.91 kB / 1.381 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.4636, allocations: 178.9 kB / 1.381 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.4637, allocations: 4 kB / 1.381 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.221e-05/0.4637, allocations: 20 kB / 1.381 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.4639, allocations: 57.66 kB / 1.381 GB, free: 9.957 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.4639, allocations: 0 / 1.381 GB, free: 9.957 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.4639, allocations: 0 / 1.381 GB, free: 9.957 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.4639, allocations: 4 kB / 1.381 GB, free: 9.953 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.742e-05/0.464, allocations: 19.98 kB / 1.381 GB, free: 9.934 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006667/0.4647, allocations: 420.4 kB / 1.381 GB, free: 9.473 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 7.533e-05/0.4648, allocations: 26.58 kB / 1.381 GB, free: 9.438 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.4648, allocations: 0 / 1.381 GB, free: 9.438 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002128/0.465, allocations: 103.4 kB / 1.381 GB, free: 9.324 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.465, allocations: 0 / 1.381 GB, free: 9.324 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.0003198/0.4653, allocations: 141.5 kB / 1.381 GB, free: 9.18 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.4654, allocations: 55.41 kB / 1.382 GB, free: 9.113 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.4655, allocations: 130.6 kB / 1.382 GB, free: 8.98 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.633e-05/0.4656, allocations: 29.7 kB / 1.382 GB, free: 8.945 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.554e-05/0.4657, allocations: 100.2 kB / 1.382 GB, free: 8.844 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.4657, allocations: 27.7 kB / 1.382 GB, free: 8.816 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.4657, allocations: 4 kB / 1.382 GB, free: 8.812 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.4659, allocations: 322.8 kB / 1.382 GB, free: 8.488 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.4661, allocations: 83.95 kB / 1.382 GB, free: 8.406 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.4663, allocations: 130.8 kB / 1.382 GB, free: 8.258 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.4665, allocations: 180.6 kB / 1.382 GB, free: 8.066 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4665, allocations: 0 / 1.382 GB, free: 8.066 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005707/0.4671, allocations: 366.8 kB / 1.383 GB, free: 7.684 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.751e-05/0.4672, allocations: 105 kB / 1.383 GB, free: 7.562 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.4672, allocations: 4.188 kB / 1.383 GB, free: 7.559 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.4672, allocations: 11.94 kB / 1.383 GB, free: 7.547 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.701e-05/0.4673, allocations: 15.86 kB / 1.383 GB, free: 7.531 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.4673, allocations: 4 kB / 1.383 GB, free: 7.527 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004629/0.4677, allocations: 99.91 kB / 1.383 GB, free: 7.43 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.873e-05/0.4678, allocations: 23.98 kB / 1.383 GB, free: 7.406 MB / 0.8855 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,and1.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.0001214/0.4679, allocations: 126.4 kB / 1.383 GB, free: 7.273 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.4679, allocations: 7.906 kB / 1.383 GB, free: 7.266 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/0.468, allocations: 12.36 kB / 1.383 GB, free: 7.25 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.468, allocations: 0 / 1.383 GB, free: 7.25 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.468, allocations: 7.953 kB / 1.383 GB, free: 7.242 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.468, allocations: 0 / 1.383 GB, free: 7.242 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.4682, allocations: 189.6 kB / 1.383 GB, free: 7.008 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4682, allocations: 0 / 1.383 GB, free: 7.008 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.264e-05/0.4682, allocations: 3.984 kB / 1.383 GB, free: 7.004 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4682, allocations: 4 kB / 1.383 GB, free: 7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.4682, allocations: 4 kB / 1.383 GB, free: 6.996 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4682, allocations: 0 / 1.383 GB, free: 6.996 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.4682, allocations: 4 kB / 1.383 GB, free: 6.992 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.4684, allocations: 136.9 kB / 1.384 GB, free: 6.84 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.176e-05/0.4685, allocations: 85.02 kB / 1.384 GB, free: 6.738 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.4685, allocations: 4 kB / 1.384 GB, free: 6.734 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.743e-05/0.4686, allocations: 4 kB / 1.384 GB, free: 6.73 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.4686, allocations: 11.98 kB / 1.384 GB, free: 6.719 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.4686, allocations: 8 kB / 1.384 GB, free: 6.711 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.039e-05/0.4687, allocations: 101.7 kB / 1.384 GB, free: 6.613 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.71e-07/0.4687, allocations: 0 / 1.384 GB, free: 6.613 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002691/0.469, allocations: 55.94 kB / 1.384 GB, free: 6.559 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.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.0005115/0.4695, allocations: 0.6835 MB / 1.384 GB, free: 5.848 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004518/0.4699, allocations: 370 kB / 1.385 GB, free: 5.449 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.47, allocations: 0 / 1.385 GB, free: 5.449 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.932e-05/0.47, allocations: 39.92 kB / 1.385 GB, free: 5.41 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.4702, allocations: 16.36 kB / 1.385 GB, free: 5.395 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.4713, allocations: 1.353 MB / 1.386 GB, free: 3.957 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.4716, allocations: 0.7004 MB / 1.387 GB, free: 3.23 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.49e-05/0.4717, allocations: 8.422 kB / 1.387 GB, free: 3.223 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.616e-05/0.4717, allocations: 27.38 kB / 1.387 GB, free: 3.195 MB / 0.8855 GB Notification: Performance of SimCode: time 5.901e-06/0.4717, allocations: 0 / 1.387 GB, free: 3.195 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0145/0.4862, allocations: 3.403 MB / 1.39 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/0.4864, allocations: 184.9 kB / 1.39 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/2.142, allocations: 0 / 1.39 GB, free: 15.71 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And3.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat does not exist to compare? outputFormat=mat