Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001997/0.001997, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002307/0.002307, allocations: 192.1 kB / 16.14 MB, free: 6.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.938/2.938, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 67.89 kB / 0.8686 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.743/0.745, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002201/0.7473, allocations: 0.7743 MB / 1.017 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.7483, allocations: 0.7962 MB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.613e-05/0.7484, allocations: 0 / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.858e-05/0.7484, allocations: 0 / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.461e-05/0.7485, allocations: 7.938 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 7.462e-05/0.7486, allocations: 15.98 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.231e-05/0.7487, allocations: 43.8 kB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.7488, allocations: 11.98 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.226e-05/0.7489, allocations: 15.92 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.414e-05/0.749, allocations: 23.91 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.749, allocations: 4 kB / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.658e-06/0.7491, allocations: 0 / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.486e-05/0.7491, allocations: 4 kB / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.786e-05/0.7491, allocations: 19.86 kB / 1.018 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.789e-05/0.7492, allocations: 39.88 kB / 1.018 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.7492, allocations: 0 / 1.018 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.457e-06/0.7492, allocations: 4 kB / 1.018 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.7492, allocations: 0 / 1.018 GB, free: 0.9688 MB / 0.7637 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.0007214/0.75, allocations: 369.3 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.75, allocations: 8.031 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.7501, allocations: 0.9375 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.7503, allocations: 168.3 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.7503, allocations: 4.375 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.7503, allocations: 4.375 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.7506, allocations: 70.16 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.7506, allocations: 4.125 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.7507, allocations: 3.938 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.7507, allocations: 0 / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003058/0.751, allocations: 67.92 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/0.7515, allocations: 269 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.7517, allocations: 62.41 kB / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.7519, allocations: 40.92 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.7519, allocations: 0 / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.752, allocations: 30.56 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.752, allocations: 0 / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005927/0.7526, allocations: 137.7 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/0.7526, allocations: 51.41 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.7528, allocations: 105.8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.7528, allocations: 29.64 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.187e-05/0.7529, allocations: 88.14 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.7529, allocations: 11.84 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-05/0.7529, allocations: 17.7 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.7531, allocations: 318.8 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.7533, allocations: 27.91 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.7534, allocations: 39.94 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.7537, allocations: 68.78 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.7537, allocations: 3.938 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003354/0.7541, allocations: 101.5 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.7541, allocations: 10.34 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.7541, allocations: 0 / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.7541, allocations: 0 / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.7543, allocations: 19.92 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.7543, allocations: 4 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.373e-05/0.7544, allocations: 11.97 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.7544, allocations: 4 kB / 1.02 GB, free: 14.64 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.7545, allocations: 110.3 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.7545, allocations: 8 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.378e-05/0.7546, allocations: 3.906 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.7546, allocations: 4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.7546, allocations: 4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.7546, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.7548, allocations: 177.5 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7548, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.954e-05/0.7549, allocations: 15.98 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.7549, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.755, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.755, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.755, allocations: 3.938 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004031/0.7554, allocations: 203.3 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.7554, allocations: 81.11 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.7555, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.7556, allocations: 11.98 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.7556, allocations: 7.984 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.7556, allocations: 0 / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.733e-05/0.7557, allocations: 91.58 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of sort global known variables: time 5.61e-07/0.7557, allocations: 0 / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002204/0.7559, allocations: 11.91 kB / 1.021 GB, free: 13.82 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001483/0.7561, allocations: 103.2 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003499/0.7564, allocations: 71.92 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7564, allocations: 3.938 kB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.7566, allocations: 35.91 kB / 1.021 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.757, allocations: 7.938 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.7573, allocations: 139.3 kB / 1.021 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.7577, allocations: 0.677 MB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.332e-05/0.7578, allocations: 4 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.7578, allocations: 7.438 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.7578, allocations: 0 / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of Templates: time 0.003099/0.7609, allocations: 0.5453 MB / 1.023 GB, free: 12.18 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches