Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.And,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And",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.413/2.413, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.0014/0.0014, allocations: 186.7 kB / 0.4902 GB, free: 2.242 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.681/1.681, allocations: 223.1 MB / 0.7992 GB, free: 15.73 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.0009546/0.0009545, allocations: 98.14 kB / 0.9396 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.000387, allocations: 14.56 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3056, allocations: 143 MB / 1.229 GB, free: 85.39 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1969/0.5026, allocations: 150.2 MB / 1.376 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.5029, allocations: 71.95 kB / 1.376 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.009192/0.5121, allocations: 2.929 MB / 1.379 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.454e-06/0.5122, allocations: 0 / 1.379 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.298e-06/0.5122, allocations: 0 / 1.379 GB, free: 12.04 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000477/0.5127, allocations: 422.6 kB / 1.379 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.5127, allocations: 12.56 kB / 1.379 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.47e-05/0.5128, allocations: 34.5 kB / 1.379 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.295e-05/0.5129, allocations: 15.89 kB / 1.379 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.513, allocations: 167 kB / 1.379 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.513, allocations: 12 kB / 1.379 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/0.5131, allocations: 8 kB / 1.379 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.5132, allocations: 45.67 kB / 1.38 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.5132, allocations: 0 / 1.38 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.5132, allocations: 4 kB / 1.38 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.5132, allocations: 4 kB / 1.38 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.172e-05/0.5133, allocations: 11.94 kB / 1.38 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004929/0.5138, allocations: 352.8 kB / 1.38 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.911e-05/0.5139, allocations: 38.56 kB / 1.38 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.5139, allocations: 4 kB / 1.38 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.5141, allocations: 87.3 kB / 1.38 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.5141, allocations: 3.938 kB / 1.38 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0002268/0.5143, allocations: 97.66 kB / 1.38 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.5144, allocations: 63.36 kB / 1.38 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.941e-05/0.5145, allocations: 117 kB / 1.38 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.376e-05/0.5145, allocations: 29.7 kB / 1.38 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.897e-05/0.5146, allocations: 92.33 kB / 1.38 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.5146, allocations: 11.75 kB / 1.38 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/0.5147, allocations: 8 kB / 1.38 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.5148, allocations: 318.8 kB / 1.381 GB, free: 9.883 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.5149, allocations: 59.91 kB / 1.381 GB, free: 9.824 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.5151, allocations: 100.2 kB / 1.381 GB, free: 9.711 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.5152, allocations: 103.4 kB / 1.381 GB, free: 9.598 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5152, allocations: 0 / 1.381 GB, free: 9.598 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004223/0.5157, allocations: 268.9 kB / 1.381 GB, free: 9.316 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.301e-05/0.5157, allocations: 63.41 kB / 1.381 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.5157, allocations: 0 / 1.381 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.5158, allocations: 7.984 kB / 1.381 GB, free: 9.234 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.195e-05/0.5158, allocations: 3.938 kB / 1.381 GB, free: 9.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.5158, allocations: 4 kB / 1.381 GB, free: 9.227 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003498/0.5162, allocations: 76.39 kB / 1.381 GB, free: 9.152 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.757e-05/0.5162, allocations: 15.98 kB / 1.381 GB, free: 9.137 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,and1.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.0001147/0.5163, allocations: 117.8 kB / 1.382 GB, free: 9.012 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.5164, allocations: 3.906 kB / 1.382 GB, free: 9.008 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.361e-05/0.5164, allocations: 16.38 kB / 1.382 GB, free: 8.988 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.5164, allocations: 3.938 kB / 1.382 GB, free: 8.984 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.5164, allocations: 0 / 1.382 GB, free: 8.984 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.5164, allocations: 0 / 1.382 GB, free: 8.984 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.5166, allocations: 185.6 kB / 1.382 GB, free: 8.754 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.5166, allocations: 0 / 1.382 GB, free: 8.754 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.416e-06/0.5166, allocations: 0 / 1.382 GB, free: 8.754 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.5166, allocations: 4 kB / 1.382 GB, free: 8.75 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.5166, allocations: 0 / 1.382 GB, free: 8.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5166, allocations: 3.938 kB / 1.382 GB, free: 8.746 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.5167, allocations: 4 kB / 1.382 GB, free: 8.742 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.5168, allocations: 109.1 kB / 1.382 GB, free: 8.617 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.5169, allocations: 85 kB / 1.382 GB, free: 8.516 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.5169, allocations: 4 kB / 1.382 GB, free: 8.512 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.101e-05/0.5169, allocations: 4 kB / 1.382 GB, free: 8.508 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.517, allocations: 3.984 kB / 1.382 GB, free: 8.504 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-06/0.517, allocations: 4 kB / 1.382 GB, free: 8.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.51e-05/0.517, allocations: 91.28 kB / 1.382 GB, free: 8.41 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.843e-06/0.517, allocations: 0 / 1.382 GB, free: 8.41 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002418/0.5173, allocations: 43.92 kB / 1.382 GB, free: 8.367 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,and1.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.0004767/0.5178, allocations: 0.656 MB / 1.383 GB, free: 7.684 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003369/0.5181, allocations: 246.9 kB / 1.383 GB, free: 7.418 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5181, allocations: 4.062 kB / 1.383 GB, free: 7.414 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.781e-05/0.5182, allocations: 23.98 kB / 1.383 GB, free: 7.391 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.5184, allocations: 16.84 kB / 1.383 GB, free: 7.375 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000801/0.5192, allocations: 0.9969 MB / 1.384 GB, free: 6.305 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.5195, allocations: 0.6926 MB / 1.385 GB, free: 5.586 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.001e-05/0.5195, allocations: 8.062 kB / 1.385 GB, free: 5.578 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.336e-05/0.5195, allocations: 19.38 kB / 1.385 GB, free: 5.559 MB / 0.8855 GB Notification: Performance of SimCode: time 1.743e-06/0.5196, allocations: 0 / 1.385 GB, free: 5.559 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01405/0.5336, allocations: 2.544 MB / 1.387 GB, free: 3.164 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002644/0.5339, allocations: 178.6 kB / 1.387 GB, free: 2.926 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/2.117, allocations: 4 kB / 1.387 GB, free: 2.922 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat does not exist to compare? outputFormat=mat