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.403/1.403, allocations: 249.5 MB / 257 MB, free: 6.914 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.00103/0.00103, allocations: 176.9 kB / 316.3 MB, free: 3.246 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.601/1.601, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0009183/0.0009184, allocations: 90.39 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.44e-05/2.432e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2452, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7693/1.015, allocations: 131.6 MB / 1.014 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/1.015, allocations: 73.39 kB / 1.014 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00234/1.017, allocations: 0.8314 MB / 1.015 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.422e-06/1.017, allocations: 3.938 kB / 1.015 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.392e-06/1.017, allocations: 0 / 1.015 GB, free: 5.371 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.0004246/1.018, allocations: 358.7 kB / 1.015 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/1.018, allocations: 8.031 kB / 1.015 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/1.018, allocations: 11.89 kB / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/1.018, allocations: 167 kB / 1.015 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/1.018, allocations: 0 / 1.015 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/1.018, allocations: 0 / 1.015 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.876e-05/1.018, allocations: 23.31 kB / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.642e-05/1.018, allocations: 44.56 kB / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/1.018, allocations: 3.938 kB / 1.015 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/1.018, allocations: 0 / 1.015 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/1.018, allocations: 0 / 1.015 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004861/1.019, allocations: 287.2 kB / 1.015 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.789e-05/1.019, allocations: 26.27 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.216e-05/1.019, allocations: 16.55 kB / 1.016 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/1.019, allocations: 0 / 1.016 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/1.019, allocations: 34 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.044e-06/1.019, allocations: 4 kB / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001545/1.019, allocations: 55.8 kB / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/1.019, allocations: 59.16 kB / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.159e-05/1.019, allocations: 100.6 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/1.019, allocations: 25.7 kB / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.948e-05/1.019, allocations: 84.12 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/1.019, allocations: 7.594 kB / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/1.019, allocations: 0 / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001149/1.019, allocations: 322.8 kB / 1.016 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.13e-05/1.019, allocations: 7.562 kB / 1.016 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.708e-05/1.019, allocations: 7.5 kB / 1.016 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.317e-05/1.019, allocations: 11.36 kB / 1.016 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/1.019, allocations: 0 / 1.016 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.91e-05/1.02, allocations: 52.8 kB / 1.016 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/1.02, allocations: 4 kB / 1.016 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/1.02, allocations: 0 / 1.016 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/1.02, allocations: 0 / 1.016 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/1.02, allocations: 31.91 kB / 1.016 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/1.02, allocations: 0 / 1.016 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.262e-05/1.02, allocations: 17.48 kB / 1.016 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/1.02, allocations: 0 / 1.016 GB, free: 3.516 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 7.578e-05/1.02, allocations: 108.9 kB / 1.016 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/1.02, allocations: 0 / 1.016 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.789e-05/1.02, allocations: 11.97 kB / 1.016 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/1.02, allocations: 0 / 1.016 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.02, allocations: 4 kB / 1.016 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/1.02, allocations: 8.109 kB / 1.016 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/1.02, allocations: 141.7 kB / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.02, allocations: 0 / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/1.02, allocations: 23.55 kB / 1.017 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/1.02, allocations: 3.984 kB / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/1.02, allocations: 4 kB / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/1.02, allocations: 5.125 kB / 1.017 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.02, allocations: 0 / 1.017 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/1.02, allocations: 150 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/1.02, allocations: 85.06 kB / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/1.02, allocations: 0 / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/1.021, allocations: 23.97 kB / 1.017 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/1.021, allocations: 0 / 1.017 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/1.021, allocations: 4 kB / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.352e-05/1.021, allocations: 86.7 kB / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-07/1.021, allocations: 0 / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001949/1.021, allocations: 7.938 kB / 1.017 GB, free: 2.797 MB / 0.6355 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.000147/1.021, allocations: 99.25 kB / 1.017 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.613e-05/1.021, allocations: 26.12 kB / 1.017 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/1.021, allocations: 0 / 1.017 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.142e-05/1.021, allocations: 11.56 kB / 1.017 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/1.021, allocations: 10 kB / 1.017 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000221/1.022, allocations: 85.81 kB / 1.017 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/1.022, allocations: 0.6807 MB / 1.018 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.647e-05/1.022, allocations: 4 kB / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/1.022, allocations: 7.438 kB / 1.018 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of SimCode: time 1.753e-06/1.022, allocations: 0 / 1.018 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of Templates: time 0.002212/1.024, allocations: 497.1 kB / 1.018 GB, free: 1.371 MB / 0.6355 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