Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.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.Continuous.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.628/2.628, allocations: 393.5 MB / 408.4 MB, free: 11 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.001412/0.001412, allocations: 178.9 kB / 0.4902 GB, free: 2.234 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.635/1.635, allocations: 223.1 MB / 0.7992 GB, free: 14.69 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.0008586/0.0008586, allocations: 100.1 kB / 0.9396 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.0004004, allocations: 17.59 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.293, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1943/0.4873, allocations: 149.6 MB / 1.375 GB, free: 3.875 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.4876, allocations: 71.95 kB / 1.375 GB, free: 3.805 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002434/0.49, allocations: 0.7625 MB / 1.376 GB, free: 3.039 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.815e-06/0.4901, allocations: 0 / 1.376 GB, free: 3.039 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.4901, allocations: 0 / 1.376 GB, free: 3.039 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005627/0.4907, allocations: 359.2 kB / 1.377 GB, free: 2.641 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.364e-05/0.4908, allocations: 8.031 kB / 1.377 GB, free: 2.633 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.4908, allocations: 11.94 kB / 1.377 GB, free: 2.621 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.491, allocations: 171 kB / 1.377 GB, free: 2.414 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.491, allocations: 0 / 1.377 GB, free: 2.414 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.491, allocations: 4 kB / 1.377 GB, free: 2.41 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/0.4913, allocations: 70.52 kB / 1.377 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.4913, allocations: 0 / 1.377 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.4914, allocations: 7.984 kB / 1.377 GB, free: 2.328 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.4914, allocations: 0 / 1.377 GB, free: 2.328 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002484/0.4916, allocations: 75.94 kB / 1.377 GB, free: 2.254 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004569/0.4921, allocations: 276.8 kB / 1.377 GB, free: 1.934 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.4923, allocations: 74.53 kB / 1.377 GB, free: 1.852 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.4923, allocations: 3.984 kB / 1.377 GB, free: 1.848 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.4924, allocations: 30.56 kB / 1.377 GB, free: 1.809 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.4924, allocations: 4.062 kB / 1.377 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0005249/0.4929, allocations: 149.5 kB / 1.377 GB, free: 1.652 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.493, allocations: 51.41 kB / 1.377 GB, free: 1.59 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.508e-05/0.4931, allocations: 97 kB / 1.377 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.4931, allocations: 25.7 kB / 1.378 GB, free: 1.457 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.01e-05/0.4932, allocations: 92.06 kB / 1.378 GB, free: 1.363 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.4932, allocations: 7.906 kB / 1.378 GB, free: 1.355 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.4932, allocations: 4.031 kB / 1.378 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.4933, allocations: 314.8 kB / 1.378 GB, free: 1.035 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.4935, allocations: 35.97 kB / 1.378 GB, free: 1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.4936, allocations: 53.69 kB / 1.378 GB, free: 0.9414 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.4938, allocations: 36.06 kB / 1.378 GB, free: 0.9062 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4938, allocations: 4 kB / 1.378 GB, free: 0.9023 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002955/0.4941, allocations: 109.6 kB / 1.378 GB, free: 0.7891 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.4e-05/0.4942, allocations: 93 kB / 1.378 GB, free: 0.6914 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4942, allocations: 0 / 1.378 GB, free: 0.6914 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.4942, allocations: 0 / 1.378 GB, free: 0.6914 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.4944, allocations: 19.98 kB / 1.378 GB, free: 0.6719 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.4944, allocations: 3.953 kB / 1.378 GB, free: 0.668 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.204e-05/0.4945, allocations: 20.02 kB / 1.378 GB, free: 0.6484 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.4945, allocations: 4.234 kB / 1.378 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.4945, allocations: 11.88 kB / 1.378 GB, free: 0.6328 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001562/0.4947, allocations: 47.97 kB / 1.378 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-06/0.4947, allocations: 4 kB / 1.378 GB, free: 0.582 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-06/0.4947, allocations: 0 / 1.378 GB, free: 0.582 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.363e-05/0.4947, allocations: 11.98 kB / 1.378 GB, free: 0.5703 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-06/0.4948, allocations: 0 / 1.378 GB, free: 0.5703 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.637e-05/0.4948, allocations: 11.98 kB / 1.378 GB, free: 0.5586 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.4948, allocations: 4 kB / 1.378 GB, free: 0.5547 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001178/0.495, allocations: 197.8 kB / 1.379 GB, free: 360 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.495, allocations: 0 / 1.379 GB, free: 360 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.972e-05/0.495, allocations: 7.531 kB / 1.379 GB, free: 356 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.495, allocations: 0 / 1.379 GB, free: 356 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.495, allocations: 0 / 1.379 GB, free: 356 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.495, allocations: 0 / 1.379 GB, free: 356 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.4952, allocations: 173.5 kB / 1.379 GB, free: 132 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4952, allocations: 0 / 1.379 GB, free: 132 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.723e-05/0.4953, allocations: 23.97 kB / 1.379 GB, free: 108 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4953, allocations: 0 / 1.379 GB, free: 108 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.4953, allocations: 0 / 1.379 GB, free: 108 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4953, allocations: 0 / 1.379 GB, free: 108 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.4954, allocations: 4 kB / 1.379 GB, free: 104 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003319/0.4957, allocations: 195.5 kB / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.175e-05/0.4957, allocations: 85.05 kB / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.4958, allocations: 0 / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.4959, allocations: 20.02 kB / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.4959, allocations: 3.938 kB / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.4959, allocations: 0 / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.384e-05/0.496, allocations: 87.27 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.496, allocations: 4 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002541/0.4963, allocations: 4 kB / 1.379 GB, free: 15.68 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001801/0.4964, allocations: 103.2 kB / 1.379 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003938/0.4968, allocations: 99.92 kB / 1.379 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4969, allocations: 0 / 1.379 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.497, allocations: 43.91 kB / 1.379 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.4972, allocations: 13.31 kB / 1.379 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003994/0.4976, allocations: 144.8 kB / 1.38 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.4979, allocations: 0.6848 MB / 1.38 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.751e-05/0.4979, allocations: 0 / 1.38 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/0.498, allocations: 11.42 kB / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of SimCode: time 3.61e-07/0.498, allocations: 3.938 kB / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of Templates: time 0.002453/0.5004, allocations: 496.1 kB / 1.381 GB, free: 14.04 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches