Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assert.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assert.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.389/2.389, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001051/0.001051, allocations: 183.3 kB / 0.4902 GB, free: 2.246 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.641/1.641, allocations: 223.1 MB / 0.7992 GB, free: 15.66 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.001529/0.001529, allocations: 104.2 kB / 0.9396 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003513, allocations: 8.938 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2963, allocations: 143 MB / 1.229 GB, free: 85.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1914/0.4878, allocations: 150.2 MB / 1.376 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.4881, allocations: 67.95 kB / 1.376 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.005161/0.4932, allocations: 1.786 MB / 1.378 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4933, allocations: 3.938 kB / 1.378 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.4933, allocations: 0 / 1.378 GB, free: 13.23 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003681/0.4937, allocations: 373 kB / 1.378 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.4937, allocations: 8.031 kB / 1.378 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.4938, allocations: 7.984 kB / 1.378 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.4939, allocations: 171 kB / 1.378 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.4939, allocations: 4 kB / 1.378 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.4939, allocations: 4 kB / 1.378 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.527e-05/0.494, allocations: 33.69 kB / 1.378 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.494, allocations: 0 / 1.378 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.4941, allocations: 4 kB / 1.378 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.4941, allocations: 0 / 1.378 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.26e-05/0.4941, allocations: 8 kB / 1.378 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.4945, allocations: 300.7 kB / 1.379 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 3.813e-05/0.4945, allocations: 18.58 kB / 1.379 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.4946, allocations: 0 / 1.379 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.4947, allocations: 55.45 kB / 1.379 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.4947, allocations: 4 kB / 1.379 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0001707/0.4949, allocations: 65.53 kB / 1.379 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.4949, allocations: 55.41 kB / 1.379 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.728e-05/0.495, allocations: 116.9 kB / 1.379 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.495, allocations: 29.64 kB / 1.379 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.618e-05/0.4951, allocations: 88.14 kB / 1.379 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.236e-05/0.4951, allocations: 7.891 kB / 1.379 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.146e-05/0.4951, allocations: 4 kB / 1.379 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.4952, allocations: 318.8 kB / 1.379 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.339e-05/0.4953, allocations: 27.98 kB / 1.379 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.593e-05/0.4954, allocations: 50.56 kB / 1.379 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.517e-05/0.4955, allocations: 57.62 kB / 1.379 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4955, allocations: 0 / 1.379 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002224/0.4957, allocations: 143.3 kB / 1.38 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.4958, allocations: 30.95 kB / 1.38 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4958, allocations: 4 kB / 1.38 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.4958, allocations: 0 / 1.38 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.624e-05/0.4958, allocations: 8.078 kB / 1.38 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.4958, allocations: 3.984 kB / 1.38 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.496, allocations: 39.97 kB / 1.38 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.496, allocations: 7.953 kB / 1.38 GB, free: 10.98 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 8.099e-05/0.4961, allocations: 114.6 kB / 1.38 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.4962, allocations: 11.91 kB / 1.38 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.589e-05/0.4962, allocations: 7.891 kB / 1.38 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.4962, allocations: 0 / 1.38 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4962, allocations: 0 / 1.38 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4962, allocations: 0 / 1.38 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.4963, allocations: 161.6 kB / 1.38 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4963, allocations: 240 / 1.38 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.36e-06/0.4963, allocations: 0 / 1.38 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.4963, allocations: 0 / 1.38 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.4964, allocations: 3.984 kB / 1.38 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4964, allocations: 7.938 kB / 1.38 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4964, allocations: 7.984 kB / 1.38 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.737e-05/0.4965, allocations: 77.08 kB / 1.38 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 2.859e-05/0.4965, allocations: 77.11 kB / 1.38 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.4965, allocations: 4 kB / 1.38 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.437e-05/0.4966, allocations: 0 / 1.38 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.4966, allocations: 3.984 kB / 1.38 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.4966, allocations: 8 kB / 1.38 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.547e-05/0.4966, allocations: 91.53 kB / 1.38 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4966, allocations: 0 / 1.38 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002017/0.4969, allocations: 20 kB / 1.38 GB, free: 10.3 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001408/0.497, allocations: 107.2 kB / 1.38 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000193/0.4972, allocations: 119.3 kB / 1.38 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4972, allocations: 3.938 kB / 1.38 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.782e-05/0.4972, allocations: 12.19 kB / 1.38 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.4974, allocations: 16.97 kB / 1.38 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000257/0.4977, allocations: 130.8 kB / 1.381 GB, free: 9.867 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.4979, allocations: 0.6809 MB / 1.381 GB, free: 9.16 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.853e-05/0.4979, allocations: 0 / 1.381 GB, free: 9.16 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.748e-05/0.4979, allocations: 11.44 kB / 1.381 GB, free: 9.148 MB / 0.8855 GB Notification: Performance of SimCode: time 2.7e-07/0.4979, allocations: 4 kB / 1.381 GB, free: 9.145 MB / 0.8855 GB Notification: Performance of Templates: time 0.002956/0.5009, allocations: 0.9592 MB / 1.382 GB, free: 8.191 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches