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.Min.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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.402/1.402, 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.001022/0.001022, allocations: 177.7 kB / 326.5 MB, free: 2.258 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.736/1.736, allocations: 205.4 MB / 0.5775 GB, free: 20.59 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.0009978/0.000998, allocations: 90.34 kB / 0.6821 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003748/0.000375, allocations: 11.91 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2886, allocations: 106.3 MB / 0.9001 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1932/0.4819, allocations: 131.4 MB / 1.028 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.4822, allocations: 71.95 kB / 1.029 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002366/0.4846, allocations: 0.8253 MB / 1.029 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4846, allocations: 4 kB / 1.029 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.4846, allocations: 0 / 1.029 GB, free: 11.98 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.0004984/0.4851, allocations: 367.1 kB / 1.03 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.4852, allocations: 8.031 kB / 1.03 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.4852, allocations: 4 kB / 1.03 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.4854, allocations: 190.8 kB / 1.03 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.4854, allocations: 4 kB / 1.03 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.4854, allocations: 4 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.4857, allocations: 77.66 kB / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.4857, allocations: 0 / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.4857, allocations: 8 kB / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.4858, allocations: 0 / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.486, allocations: 87.92 kB / 1.03 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005372/0.4866, allocations: 304.7 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.4868, allocations: 66.53 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.4868, allocations: 0 / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.4869, allocations: 38.56 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.4869, allocations: 0 / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.000555/0.4874, allocations: 165.6 kB / 1.031 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.4875, allocations: 51.41 kB / 1.031 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.935e-05/0.4876, allocations: 101 kB / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.4876, allocations: 29.7 kB / 1.031 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.21e-05/0.4877, allocations: 84.14 kB / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.4877, allocations: 11.81 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-06/0.4877, allocations: 0 / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.4879, allocations: 318.8 kB / 1.031 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.488, allocations: 43.95 kB / 1.031 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.4881, allocations: 39.97 kB / 1.031 GB, free: 9.809 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.4883, allocations: 47.95 kB / 1.031 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4883, allocations: 0 / 1.031 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003272/0.4886, allocations: 125.6 kB / 1.031 GB, free: 9.633 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.4887, allocations: 4 kB / 1.031 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.4887, allocations: 0 / 1.031 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.4887, allocations: 0 / 1.031 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.4888, allocations: 23.97 kB / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.4889, allocations: 4 kB / 1.031 GB, free: 9.602 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.545e-05/0.4889, allocations: 15.98 kB / 1.031 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.016e-06/0.489, allocations: 0 / 1.031 GB, free: 9.586 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 8.885e-05/0.4891, allocations: 113.8 kB / 1.032 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.381e-05/0.4891, allocations: 7.844 kB / 1.032 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003741/0.4895, allocations: 133.5 kB / 1.032 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4895, allocations: 3.938 kB / 1.032 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4895, allocations: 4.375 kB / 1.032 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.4895, allocations: 0 / 1.032 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.4897, allocations: 177.5 kB / 1.032 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4897, allocations: 0 / 1.032 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.4898, allocations: 19.98 kB / 1.032 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.4898, allocations: 3.984 kB / 1.032 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.4898, allocations: 4 kB / 1.032 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.4898, allocations: 0 / 1.032 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.4898, allocations: 4 kB / 1.032 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000364/0.4902, allocations: 219.4 kB / 1.032 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.966e-05/0.4903, allocations: 81.02 kB / 1.032 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.4903, allocations: 0 / 1.032 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.4904, allocations: 15.98 kB / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.4904, allocations: 11.98 kB / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-06/0.4905, allocations: 8 kB / 1.032 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.063e-05/0.4905, allocations: 83.28 kB / 1.032 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4905, allocations: 0 / 1.032 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001969/0.4907, allocations: 8 kB / 1.032 GB, free: 8.602 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.0001982/0.4909, allocations: 107.2 kB / 1.032 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003503/0.4913, allocations: 87.92 kB / 1.032 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4913, allocations: 0 / 1.032 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.4914, allocations: 47.97 kB / 1.033 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.4917, allocations: 13.66 kB / 1.033 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.4921, allocations: 136.6 kB / 1.033 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.4925, allocations: 0.6886 MB / 1.033 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.523e-05/0.4925, allocations: 7.984 kB / 1.033 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.293e-05/0.4926, allocations: 7.438 kB / 1.033 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of SimCode: time 3.1e-07/0.4926, allocations: 0 / 1.033 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of Templates: time 0.002708/0.4953, allocations: 0.5176 MB / 1.034 GB, free: 6.938 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Min.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches