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.Division.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.Division,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Division,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.459/1.459, allocations: 249.3 MB / 261.9 MB, free: 5.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 180.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0009009/0.000901, allocations: 83.58 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.724e-05/3.726e-05, allocations: 4 kB / 0.788 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2021, allocations: 106.3 MB / 0.8918 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6899/0.892, allocations: 131.3 MB / 1.02 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001914/0.8923, allocations: 71.7 kB / 1.02 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002291/0.8946, allocations: 0.8448 MB / 1.021 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8946, allocations: 0 / 1.021 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.8946, allocations: 4 kB / 1.021 GB, free: 2.578 MB / 0.6355 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.0003775/0.895, allocations: 352.3 kB / 1.021 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.8951, allocations: 16.03 kB / 1.021 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.8951, allocations: 3.906 kB / 1.021 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.8952, allocations: 175 kB / 1.021 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.8952, allocations: 0 / 1.021 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.8953, allocations: 4 kB / 1.021 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.8954, allocations: 41.14 kB / 1.021 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.8954, allocations: 0 / 1.021 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.8954, allocations: 0 / 1.021 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.8954, allocations: 3.984 kB / 1.021 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.222e-05/0.8955, allocations: 23.31 kB / 1.022 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004999/0.896, allocations: 308.7 kB / 1.022 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.511e-05/0.8961, allocations: 34.14 kB / 1.022 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.189e-05/0.8961, allocations: 16.11 kB / 1.022 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.8962, allocations: 0 / 1.022 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.8962, allocations: 38.5 kB / 1.022 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.444e-06/0.8962, allocations: 0 / 1.022 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001631/0.8964, allocations: 58.23 kB / 1.022 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.8964, allocations: 51.41 kB / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.466e-05/0.8965, allocations: 100.1 kB / 1.022 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.8965, allocations: 29.7 kB / 1.022 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.328e-05/0.8966, allocations: 86.94 kB / 1.022 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.8966, allocations: 3.906 kB / 1.022 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.8966, allocations: 6.125 kB / 1.022 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.8967, allocations: 318.3 kB / 1.023 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.305e-05/0.8967, allocations: 7.438 kB / 1.023 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.896e-05/0.8968, allocations: 7.5 kB / 1.023 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.434e-05/0.8968, allocations: 11.98 kB / 1.023 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8968, allocations: 0 / 1.023 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.411e-05/0.8969, allocations: 60.48 kB / 1.023 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.8969, allocations: 8 kB / 1.023 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.8969, allocations: 0 / 1.023 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.8969, allocations: 0 / 1.023 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.8971, allocations: 27.28 kB / 1.023 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.8971, allocations: 0 / 1.023 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.151e-05/0.8972, allocations: 19.98 kB / 1.023 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.8972, allocations: 0 / 1.023 GB, free: 0.6797 MB / 0.6355 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 () * 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 5.751e-05/0.8973, allocations: 104.9 kB / 1.023 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.8973, allocations: 4 kB / 1.023 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.8973, allocations: 7.719 kB / 1.023 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.8973, allocations: 3.984 kB / 1.023 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.8974, allocations: 0.875 kB / 1.023 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.8974, allocations: 3.938 kB / 1.023 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.8975, allocations: 169.3 kB / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.8975, allocations: 4 kB / 1.023 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.882e-05/0.8976, allocations: 27.86 kB / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.8976, allocations: 0 / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.8977, allocations: 7.25 kB / 1.023 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.8977, allocations: 0 / 1.023 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.8977, allocations: 3.984 kB / 1.023 GB, free: 312 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.8978, allocations: 156.4 kB / 1.023 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.072e-05/0.8978, allocations: 81.09 kB / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.8979, allocations: 0 / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.898, allocations: 15.98 kB / 1.023 GB, free: 36 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.898, allocations: 7.984 kB / 1.023 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.898, allocations: 0 / 1.023 GB, free: 28 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.285e-05/0.8981, allocations: 87.16 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8981, allocations: 4 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001955/0.8983, allocations: 7.938 kB / 1.023 GB, free: 15.93 MB / 0.6511 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 () * 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.000132/0.8984, allocations: 103.1 kB / 1.023 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.081e-05/0.8985, allocations: 22.69 kB / 1.023 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.8986, allocations: 4 kB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.252e-05/0.8986, allocations: 11.44 kB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/0.8988, allocations: 7.938 kB / 1.023 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002161/0.899, allocations: 85.88 kB / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.8992, allocations: 0.6848 MB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.431e-05/0.8993, allocations: 4 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.58e-05/0.8993, allocations: 11.38 kB / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of SimCode: time 4.4e-07/0.8993, allocations: 0 / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of Templates: time 0.002205/0.9015, allocations: 0.5319 MB / 1.025 GB, free: 14.45 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Division.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches