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.398/1.398, allocations: 251.9 MB / 266.9 MB, free: 11 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.001184/0.001184, allocations: 184.9 kB / 326.5 MB, free: 2.227 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.99/1.99, allocations: 205.4 MB / 0.5775 GB, free: 20.52 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.0009244/0.0009245, allocations: 89.48 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.000344, allocations: 18.86 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2618, allocations: 106.3 MB / 0.9001 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1821/0.444, allocations: 131.4 MB / 1.028 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.4444, allocations: 71.95 kB / 1.028 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002452/0.4468, allocations: 0.8409 MB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.945e-06/0.4469, allocations: 0 / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.4469, allocations: 0 / 1.029 GB, free: 11.8 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.000475/0.4474, allocations: 367.1 kB / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4474, allocations: 12.03 kB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.4475, allocations: 7.938 kB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.4476, allocations: 175 kB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.4476, allocations: 0 / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.4476, allocations: 0 / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.4479, allocations: 85.59 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.4479, allocations: 0 / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.448, allocations: 0 / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.448, allocations: 0 / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000294/0.4483, allocations: 87.92 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000585/0.4489, allocations: 308.8 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.4491, allocations: 66.48 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.4491, allocations: 0 / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.4492, allocations: 38.56 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.4492, allocations: 0 / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0005932/0.4498, allocations: 157.7 kB / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.4498, allocations: 51.41 kB / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.4499, allocations: 109 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.45, allocations: 25.7 kB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.878e-05/0.45, allocations: 88.14 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.4501, allocations: 7.812 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.4501, allocations: 0 / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002083/0.4503, allocations: 330.7 kB / 1.031 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.4505, allocations: 39.97 kB / 1.031 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.4506, allocations: 43.95 kB / 1.031 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.4508, allocations: 43.97 kB / 1.031 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4508, allocations: 0 / 1.031 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003335/0.4511, allocations: 122 kB / 1.031 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.4511, allocations: 4 kB / 1.031 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.4512, allocations: 7.922 kB / 1.031 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.4512, allocations: 0 / 1.031 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.4513, allocations: 27.97 kB / 1.031 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.4514, allocations: 0 / 1.031 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.305e-05/0.4514, allocations: 15.98 kB / 1.031 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.4515, allocations: 0 / 1.031 GB, free: 9.414 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 0.0001124/0.4516, allocations: 125.7 kB / 1.032 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.4516, allocations: 3.906 kB / 1.032 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.4517, allocations: 15.84 kB / 1.032 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4517, allocations: 0 / 1.032 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.4517, allocations: 0 / 1.032 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.4517, allocations: 3.984 kB / 1.032 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.4519, allocations: 173.6 kB / 1.032 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4519, allocations: 0 / 1.032 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.452, allocations: 19.98 kB / 1.032 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.452, allocations: 0 / 1.032 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.452, allocations: 4 kB / 1.032 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.452, allocations: 0 / 1.032 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4521, allocations: 0 / 1.032 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.4524, allocations: 219.4 kB / 1.032 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.557e-05/0.4525, allocations: 85.02 kB / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.4526, allocations: 0 / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.4527, allocations: 15.98 kB / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.4527, allocations: 15.92 kB / 1.032 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.4528, allocations: 4 kB / 1.032 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.432e-05/0.4528, allocations: 87.27 kB / 1.032 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.4528, allocations: 0 / 1.032 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001957/0.453, allocations: 8 kB / 1.032 GB, free: 8.551 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.0001752/0.4532, allocations: 95.25 kB / 1.032 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003328/0.4535, allocations: 91.92 kB / 1.032 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.4536, allocations: 0 / 1.032 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.4537, allocations: 43.97 kB / 1.032 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.4539, allocations: 15.94 kB / 1.032 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003453/0.4543, allocations: 144.4 kB / 1.033 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.4546, allocations: 0.6809 MB / 1.033 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.115e-05/0.4546, allocations: 0 / 1.033 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.915e-05/0.4546, allocations: 7.438 kB / 1.033 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of SimCode: time 4.21e-07/0.4547, allocations: 0 / 1.033 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of Templates: time 0.002596/0.4573, allocations: 0.5259 MB / 1.034 GB, free: 6.895 MB / 0.6823 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