Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.349/1.349, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 183.7 kB / 326.5 MB, free: 2.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.78/1.78, allocations: 205.4 MB / 0.5775 GB, free: 20.31 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009307/0.0009309, allocations: 98.31 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004229/0.0004229, allocations: 12.66 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2923, allocations: 106.3 MB / 0.9001 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1936/0.486, allocations: 131.4 MB / 1.028 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.4864, allocations: 71.95 kB / 1.029 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002334/0.4887, allocations: 0.8253 MB / 1.029 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4887, allocations: 4 kB / 1.029 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.4887, allocations: 0 / 1.029 GB, free: 11.5 MB / 0.6823 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.0004943/0.4892, allocations: 371.1 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.4893, allocations: 8.031 kB / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.4893, allocations: 3.938 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.4895, allocations: 178.9 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.4895, allocations: 4 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.4895, allocations: 8 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.4898, allocations: 73.66 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.4899, allocations: 0 / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.4899, allocations: 7.984 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.4899, allocations: 0 / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003051/0.4902, allocations: 83.92 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005902/0.4908, allocations: 312.7 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.491, allocations: 66.53 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.4911, allocations: 0 / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.4911, allocations: 34.56 kB / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.4911, allocations: 0 / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0005817/0.4917, allocations: 169.6 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.4917, allocations: 51.41 kB / 1.031 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.034e-05/0.4918, allocations: 97 kB / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.4919, allocations: 25.7 kB / 1.031 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.4919, allocations: 92.12 kB / 1.031 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.492, allocations: 7.812 kB / 1.031 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.492, allocations: 4 kB / 1.031 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.4921, allocations: 318.8 kB / 1.031 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.4923, allocations: 43.95 kB / 1.031 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.4925, allocations: 47.91 kB / 1.031 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.4926, allocations: 43.95 kB / 1.031 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4927, allocations: 4 kB / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003214/0.493, allocations: 117.6 kB / 1.031 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.493, allocations: 4 kB / 1.031 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.493, allocations: 0 / 1.031 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.493, allocations: 3.938 kB / 1.031 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.4932, allocations: 19.98 kB / 1.031 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.4932, allocations: 0 / 1.031 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.4933, allocations: 27.91 kB / 1.031 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.4933, allocations: 320 / 1.031 GB, free: 9.102 MB / 0.6823 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 (3): * Single equations (assignments): 3 * 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 9.775e-05/0.4934, allocations: 117.8 kB / 1.032 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.4935, allocations: 3.906 kB / 1.032 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004061/0.4939, allocations: 133.5 kB / 1.032 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.4939, allocations: 0 / 1.032 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.4939, allocations: 0 / 1.032 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.4939, allocations: 4 kB / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.4941, allocations: 173.6 kB / 1.032 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.4941, allocations: 0 / 1.032 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.4942, allocations: 23.92 kB / 1.032 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4942, allocations: 0 / 1.032 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.4943, allocations: 4 kB / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-06/0.4943, allocations: 0 / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4943, allocations: 4 kB / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003813/0.4947, allocations: 219.8 kB / 1.032 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.602e-05/0.4947, allocations: 85.05 kB / 1.032 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.4947, allocations: 0 / 1.032 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.4949, allocations: 19.98 kB / 1.032 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.4949, allocations: 7.984 kB / 1.032 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.4949, allocations: 0 / 1.032 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.156e-05/0.495, allocations: 87.27 kB / 1.032 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.495, allocations: 4 kB / 1.032 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001965/0.4952, allocations: 8 kB / 1.032 GB, free: 8.121 MB / 0.6823 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 (3): * Single equations (assignments): 3 * 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.0001698/0.4954, allocations: 107.2 kB / 1.032 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003437/0.4957, allocations: 87.92 kB / 1.032 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4957, allocations: 0 / 1.032 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.4959, allocations: 47.97 kB / 1.033 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.4961, allocations: 11.95 kB / 1.033 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.4965, allocations: 136.5 kB / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.4968, allocations: 0.6848 MB / 1.033 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.511e-05/0.4969, allocations: 4 kB / 1.033 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.359e-05/0.4969, allocations: 15.38 kB / 1.033 GB, free: 6.969 MB / 0.6823 GB Notification: Performance of SimCode: time 3.61e-07/0.4969, allocations: 0 / 1.033 GB, free: 6.969 MB / 0.6823 GB Notification: Performance of Templates: time 0.002378/0.4993, allocations: 0.517 MB / 1.034 GB, free: 6.461 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Max.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches