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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.466/2.466, allocations: 393.5 MB / 408.4 MB, free: 11.12 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.001265/0.001266, allocations: 183.9 kB / 0.4902 GB, free: 2.297 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.535/1.535, allocations: 223.2 MB / 0.7992 GB, free: 14.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.001015/0.001015, allocations: 108.5 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004125/0.0004126, allocations: 10.91 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3291, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2488/0.5779, allocations: 150.2 MB / 1.376 GB, free: 3.449 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/0.5782, allocations: 75.94 kB / 1.376 GB, free: 3.375 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01162/0.5899, allocations: 2.914 MB / 1.379 GB, free: 468 kB / 0.8698 GB Notification: Performance of FrontEnd: time 4.538e-06/0.5899, allocations: 4 kB / 1.379 GB, free: 464 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.59, allocations: 3.938 kB / 1.379 GB, free: 460 kB / 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.00058/0.5906, allocations: 418.6 kB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.5906, allocations: 8.031 kB / 1.379 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.941e-05/0.5907, allocations: 15.89 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.5909, allocations: 174.9 kB / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.5909, allocations: 8 kB / 1.379 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.693e-05/0.591, allocations: 8 kB / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.5911, allocations: 49.67 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.5911, allocations: 0 / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.5912, allocations: 0 / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.5912, allocations: 4 kB / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.603e-05/0.5912, allocations: 16 kB / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006229/0.5919, allocations: 352.7 kB / 1.38 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 9.479e-05/0.592, allocations: 38.56 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-06/0.592, allocations: 0 / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000214/0.5922, allocations: 79.38 kB / 1.38 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.984e-06/0.5922, allocations: 0 / 1.38 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0003215/0.5926, allocations: 109.6 kB / 1.38 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.5926, allocations: 55.36 kB / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.5928, allocations: 117 kB / 1.38 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.5928, allocations: 33.7 kB / 1.38 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.608e-05/0.5929, allocations: 88.33 kB / 1.38 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.5929, allocations: 11.81 kB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/0.593, allocations: 11.94 kB / 1.38 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.5931, allocations: 318.8 kB / 1.381 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.5933, allocations: 59.97 kB / 1.381 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.5935, allocations: 96.19 kB / 1.381 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.5937, allocations: 111.4 kB / 1.381 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5937, allocations: 0 / 1.381 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000603/0.5944, allocations: 260.9 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.72e-05/0.5944, allocations: 63.41 kB / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.5945, allocations: 4 kB / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.5945, allocations: 3.984 kB / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.403e-05/0.5945, allocations: 4 kB / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.5945, allocations: 0 / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000477/0.595, allocations: 83.89 kB / 1.381 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-05/0.5951, allocations: 23.97 kB / 1.381 GB, free: 13.59 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.0001373/0.5952, allocations: 122.6 kB / 1.381 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.913e-05/0.5953, allocations: 4 kB / 1.381 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.568e-05/0.5953, allocations: 8.375 kB / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.5953, allocations: 480 / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.5953, allocations: 4 kB / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.5953, allocations: 0 / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.5955, allocations: 173.6 kB / 1.382 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5955, allocations: 0 / 1.382 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.058e-05/0.5956, allocations: 11.94 kB / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.5956, allocations: 0 / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.5956, allocations: 0 / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.5956, allocations: 0 / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.5956, allocations: 4 kB / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.5958, allocations: 112.9 kB / 1.382 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.5959, allocations: 89 kB / 1.382 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.5959, allocations: 0 / 1.382 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.379e-05/0.5959, allocations: 8 kB / 1.382 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.596, allocations: 7.984 kB / 1.382 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.596, allocations: 4 kB / 1.382 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.966e-05/0.5961, allocations: 83.28 kB / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5961, allocations: 0 / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003981/0.5965, allocations: 51.86 kB / 1.382 GB, free: 12.82 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.0002076/0.5967, allocations: 107.2 kB / 1.382 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004369/0.5972, allocations: 247.2 kB / 1.382 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5972, allocations: 0 / 1.382 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.737e-05/0.5973, allocations: 27.92 kB / 1.382 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.5975, allocations: 19.94 kB / 1.382 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004215/0.5979, allocations: 163.6 kB / 1.383 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.5982, allocations: 0.6887 MB / 1.383 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.044e-05/0.5983, allocations: 11.77 kB / 1.383 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/0.5983, allocations: 11.44 kB / 1.383 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of SimCode: time 7.12e-07/0.5983, allocations: 0 / 1.383 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of Templates: time 0.005488/0.6038, allocations: 1.673 MB / 1.385 GB, free: 9.812 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches