Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.And,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.182/2.182, allocations: 390.3 MB / 405.3 MB, free: 13.42 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.001092/0.001092, allocations: 181.1 kB / 498.1 MB, free: 5.676 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.527/1.527, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.0008976/0.0008975, allocations: 104.2 kB / 0.9346 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004026/0.0004026, allocations: 18.09 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2792, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1848/0.4641, allocations: 149.4 MB / 1.369 GB, free: 12.58 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.4644, allocations: 67.95 kB / 1.369 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008401/0.4728, allocations: 2.93 MB / 1.372 GB, free: 9.578 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4728, allocations: 0 / 1.372 GB, free: 9.578 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.4729, allocations: 4 kB / 1.372 GB, free: 9.574 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004572/0.4733, allocations: 422.6 kB / 1.372 GB, free: 9.102 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.4734, allocations: 8.031 kB / 1.372 GB, free: 9.094 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.056e-05/0.4734, allocations: 30.56 kB / 1.372 GB, free: 9.055 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/0.4735, allocations: 19.83 kB / 1.372 GB, free: 9.035 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.4736, allocations: 167 kB / 1.372 GB, free: 8.832 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.4736, allocations: 4 kB / 1.372 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.4737, allocations: 16 kB / 1.372 GB, free: 8.812 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.4738, allocations: 53.67 kB / 1.372 GB, free: 8.754 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.4738, allocations: 3.984 kB / 1.372 GB, free: 8.75 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.4738, allocations: 0 / 1.372 GB, free: 8.75 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.4738, allocations: 0 / 1.372 GB, free: 8.75 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.718e-05/0.4739, allocations: 12 kB / 1.372 GB, free: 8.738 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005111/0.4744, allocations: 360.6 kB / 1.373 GB, free: 8.336 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.965e-05/0.4745, allocations: 38.5 kB / 1.373 GB, free: 8.289 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.583e-06/0.4745, allocations: 0 / 1.373 GB, free: 8.289 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000178/0.4747, allocations: 79.41 kB / 1.373 GB, free: 8.199 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.4747, allocations: 0 / 1.373 GB, free: 8.199 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0002401/0.475, allocations: 105.6 kB / 1.373 GB, free: 8.09 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.475, allocations: 59.36 kB / 1.373 GB, free: 8.02 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.243e-05/0.4751, allocations: 117.1 kB / 1.373 GB, free: 7.895 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.4751, allocations: 33.7 kB / 1.373 GB, free: 7.855 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.489e-05/0.4752, allocations: 84.33 kB / 1.373 GB, free: 7.77 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.4752, allocations: 15.81 kB / 1.373 GB, free: 7.754 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.652e-05/0.4753, allocations: 4 kB / 1.373 GB, free: 7.75 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4754, allocations: 318.8 kB / 1.374 GB, free: 7.43 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.4755, allocations: 59.97 kB / 1.374 GB, free: 7.371 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.4757, allocations: 100.1 kB / 1.374 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.4758, allocations: 112.2 kB / 1.374 GB, free: 7.141 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4758, allocations: 0 / 1.374 GB, free: 7.141 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003982/0.4762, allocations: 260.8 kB / 1.374 GB, free: 6.867 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.874e-05/0.4763, allocations: 63.41 kB / 1.374 GB, free: 6.793 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.4763, allocations: 12.42 kB / 1.374 GB, free: 6.781 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.4763, allocations: 0 / 1.374 GB, free: 6.781 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.929e-05/0.4764, allocations: 4 kB / 1.374 GB, free: 6.777 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.4764, allocations: 3.938 kB / 1.374 GB, free: 6.773 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003292/0.4767, allocations: 79.83 kB / 1.374 GB, free: 6.695 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.4768, allocations: 19.97 kB / 1.374 GB, free: 6.676 MB / 0.8698 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.000106/0.4769, allocations: 117.8 kB / 1.374 GB, free: 6.551 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.4769, allocations: 7.906 kB / 1.374 GB, free: 6.543 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.857e-05/0.4769, allocations: 4.375 kB / 1.374 GB, free: 6.535 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4769, allocations: 8 kB / 1.374 GB, free: 6.527 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4769, allocations: 0 / 1.374 GB, free: 6.527 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.477, allocations: 0 / 1.374 GB, free: 6.527 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.4771, allocations: 181.6 kB / 1.375 GB, free: 6.301 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4771, allocations: 4 kB / 1.375 GB, free: 6.297 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.494e-06/0.4771, allocations: 480 / 1.375 GB, free: 6.297 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4771, allocations: 0 / 1.375 GB, free: 6.297 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.4771, allocations: 0 / 1.375 GB, free: 6.297 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.4771, allocations: 7.938 kB / 1.375 GB, free: 6.289 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.4772, allocations: 3.984 kB / 1.375 GB, free: 6.285 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.4773, allocations: 113 kB / 1.375 GB, free: 6.156 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.257e-05/0.4774, allocations: 89 kB / 1.375 GB, free: 6.051 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.4774, allocations: 0 / 1.375 GB, free: 6.051 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.096e-05/0.4774, allocations: 4.062 kB / 1.375 GB, free: 6.047 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.4775, allocations: 11.98 kB / 1.375 GB, free: 6.035 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.4775, allocations: 4 kB / 1.375 GB, free: 6.031 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.13e-05/0.4775, allocations: 87.28 kB / 1.375 GB, free: 5.945 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.4775, allocations: 0 / 1.375 GB, free: 5.945 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000236/0.4778, allocations: 39.98 kB / 1.375 GB, free: 5.906 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: 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.0004831/0.4783, allocations: 0.6589 MB / 1.376 GB, free: 5.219 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003337/0.4786, allocations: 238.7 kB / 1.376 GB, free: 4.961 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4786, allocations: 0 / 1.376 GB, free: 4.961 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.785e-05/0.4787, allocations: 32.23 kB / 1.376 GB, free: 4.93 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.4789, allocations: 16.61 kB / 1.376 GB, free: 4.914 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008414/0.4797, allocations: 0.9987 MB / 1.377 GB, free: 3.844 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.48, allocations: 0.6926 MB / 1.378 GB, free: 3.125 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.776e-05/0.48, allocations: 7.781 kB / 1.378 GB, free: 3.117 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.4801, allocations: 19.44 kB / 1.378 GB, free: 3.098 MB / 0.8698 GB Notification: Performance of SimCode: time 3.61e-07/0.4801, allocations: 0 / 1.378 GB, free: 3.098 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0159/0.496, allocations: 2.529 MB / 1.38 GB, free: 0.7031 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/0.4963, allocations: 172.5 kB / 1.38 GB, free: 476 kB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/2.05, allocations: 1.5 kB / 1.38 GB, free: 476 kB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat does not exist to compare? outputFormat=mat