Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.41/2.41, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001106/0.001106, allocations: 178.5 kB / 0.4902 GB, free: 2.27 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.649/1.649, allocations: 223.1 MB / 0.7992 GB, free: 14.78 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.000943/0.0009428, allocations: 104.1 kB / 0.9396 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004286/0.0004286, allocations: 10.47 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2904, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1937/0.4842, allocations: 150.2 MB / 1.376 GB, free: 3.41 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.4845, allocations: 75.94 kB / 1.376 GB, free: 3.336 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01215/0.4967, allocations: 4.073 MB / 1.38 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4967, allocations: 0 / 1.38 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.4967, allocations: 4 kB / 1.38 GB, free: 15.25 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.0004949/0.4973, allocations: 472.1 kB / 1.38 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.4973, allocations: 8.562 kB / 1.38 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.321e-05/0.4974, allocations: 15.91 kB / 1.38 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.4975, allocations: 173.8 kB / 1.381 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.4975, allocations: 19.92 kB / 1.381 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.14e-05/0.4976, allocations: 12 kB / 1.381 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.4977, allocations: 53.67 kB / 1.381 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.4977, allocations: 3.984 kB / 1.381 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.4978, allocations: 8 kB / 1.381 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.4978, allocations: 0 / 1.381 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.284e-05/0.4978, allocations: 19.98 kB / 1.381 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005526/0.4984, allocations: 412.5 kB / 1.381 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 5.922e-05/0.4985, allocations: 38.5 kB / 1.381 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.836e-06/0.4985, allocations: 0 / 1.381 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001919/0.4987, allocations: 107.3 kB / 1.381 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 1.173e-06/0.4987, allocations: 0 / 1.381 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.0002756/0.499, allocations: 133.5 kB / 1.381 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.499, allocations: 63.36 kB / 1.381 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.239e-05/0.4991, allocations: 120.9 kB / 1.382 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/0.4992, allocations: 33.7 kB / 1.382 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.73e-05/0.4992, allocations: 96.14 kB / 1.382 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.4993, allocations: 27.77 kB / 1.382 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/0.4993, allocations: 8 kB / 1.382 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.4994, allocations: 318.8 kB / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.4996, allocations: 87.94 kB / 1.382 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.4998, allocations: 134 kB / 1.382 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.5, allocations: 169 kB / 1.382 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.5, allocations: 4 kB / 1.382 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000567/0.5006, allocations: 362.5 kB / 1.383 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.747e-05/0.5007, allocations: 97.28 kB / 1.383 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.5007, allocations: 11.94 kB / 1.383 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.5007, allocations: 4 kB / 1.383 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.313e-05/0.5007, allocations: 3.953 kB / 1.383 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.5008, allocations: 11.92 kB / 1.383 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000473/0.5012, allocations: 107.9 kB / 1.383 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.121e-05/0.5013, allocations: 15.98 kB / 1.383 GB, free: 11.86 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,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.000117/0.5014, allocations: 133.8 kB / 1.383 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.5014, allocations: 7.906 kB / 1.383 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.224e-05/0.5015, allocations: 12.38 kB / 1.383 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.5015, allocations: 3.984 kB / 1.383 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.5015, allocations: 8.328 kB / 1.383 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.5015, allocations: 0 / 1.383 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.5016, allocations: 185.6 kB / 1.383 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.5017, allocations: 0 / 1.383 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.562e-05/0.5017, allocations: 19.86 kB / 1.383 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.5017, allocations: 0 / 1.383 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.5017, allocations: 0 / 1.383 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5017, allocations: 0 / 1.383 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5017, allocations: 4 kB / 1.383 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.5019, allocations: 136.9 kB / 1.383 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.5019, allocations: 85 kB / 1.384 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.502, allocations: 4 kB / 1.384 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.41e-05/0.502, allocations: 4 kB / 1.384 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.8e-05/0.502, allocations: 11.98 kB / 1.384 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.5021, allocations: 4 kB / 1.384 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.032e-05/0.5021, allocations: 97.38 kB / 1.384 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5021, allocations: 0 / 1.384 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002612/0.5024, allocations: 55.94 kB / 1.384 GB, free: 11 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,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.0002038/0.5026, allocations: 118 kB / 1.384 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004654/0.5031, allocations: 366 kB / 1.384 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5031, allocations: 0 / 1.384 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.889e-05/0.5032, allocations: 35.98 kB / 1.384 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.5034, allocations: 20.84 kB / 1.384 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003817/0.5038, allocations: 211.8 kB / 1.384 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.504, allocations: 0.6965 MB / 1.385 GB, free: 9.469 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.18e-05/0.5041, allocations: 4.719 kB / 1.385 GB, free: 9.465 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.468e-05/0.5041, allocations: 15.44 kB / 1.385 GB, free: 9.449 MB / 0.8855 GB Notification: Performance of SimCode: time 2.4e-07/0.5041, allocations: 4 kB / 1.385 GB, free: 9.445 MB / 0.8855 GB Notification: Performance of Templates: time 0.004889/0.509, allocations: 2.367 MB / 1.387 GB, free: 7.102 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches