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.00689/0.00689, allocations: 101.3 kB / 15.73 MB, free: 6.062 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.00166/0.00166, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.475/2.475, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 59.91 kB / 1.019 GB, free: 9.328 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.006, allocations: 151.6 MB / 1.167 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002053/1.008, allocations: 0.7025 MB / 1.167 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009009/1.009, allocations: 0.8079 MB / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.072e-05/1.009, allocations: 0 / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.259e-05/1.009, allocations: 3.938 kB / 1.168 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.04e-05/1.009, allocations: 3.938 kB / 1.168 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 6.545e-05/1.009, allocations: 15.98 kB / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.42e-05/1.009, allocations: 51.78 kB / 1.168 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/1.009, allocations: 8 kB / 1.168 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.559e-05/1.009, allocations: 15.98 kB / 1.168 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.721e-05/1.009, allocations: 19.91 kB / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/1.009, allocations: 4 kB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.305e-05/1.009, allocations: 4 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/1.009, allocations: 15.92 kB / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.127e-05/1.009, allocations: 11.94 kB / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/1.01, allocations: 47.8 kB / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/1.01, allocations: 0 / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.364e-06/1.01, allocations: 0 / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.332e-06/1.01, allocations: 0 / 1.168 GB, free: 2.074 MB / 0.8887 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.0005759/1.01, allocations: 371.8 kB / 1.169 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/1.01, allocations: 8.922 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/1.01, allocations: 8.891 kB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/1.01, allocations: 172.3 kB / 1.169 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/1.01, allocations: 4.375 kB / 1.169 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/1.011, allocations: 384 / 1.169 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/1.011, allocations: 70.22 kB / 1.169 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/1.011, allocations: 192 / 1.169 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/1.011, allocations: 3.938 kB / 1.169 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/1.011, allocations: 0 / 1.169 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000345/1.011, allocations: 71.92 kB / 1.169 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003863/1.012, allocations: 272.8 kB / 1.169 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/1.012, allocations: 54.48 kB / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/1.012, allocations: 51.28 kB / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/1.012, allocations: 4 kB / 1.169 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/1.012, allocations: 30.56 kB / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/1.012, allocations: 0 / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005427/1.013, allocations: 129.5 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/1.013, allocations: 55.39 kB / 1.17 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.412e-05/1.013, allocations: 109.8 kB / 1.17 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/1.013, allocations: 25.7 kB / 1.17 GB, free: 480 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/1.013, allocations: 88.12 kB / 1.17 GB, free: 388 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/1.013, allocations: 11.84 kB / 1.17 GB, free: 376 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/1.013, allocations: 17.72 kB / 1.17 GB, free: 352 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001172/1.013, allocations: 314.8 kB / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/1.013, allocations: 36.03 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/1.013, allocations: 28.09 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/1.014, allocations: 72.86 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/1.014, allocations: 7.938 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003164/1.014, allocations: 101.5 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/1.014, allocations: 4 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.014, allocations: 3.984 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/1.014, allocations: 0 / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/1.014, allocations: 15.98 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/1.014, allocations: 4 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.529e-05/1.014, allocations: 15.98 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/1.014, allocations: 0 / 1.17 GB, free: 15.73 MB / 0.9044 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 8.634e-05/1.014, allocations: 109.8 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/1.014, allocations: 7.953 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/1.014, allocations: 11.89 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/1.014, allocations: 0 / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/1.014, allocations: 4 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/1.014, allocations: 4 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/1.015, allocations: 169.6 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/1.015, allocations: 0 / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.053e-05/1.015, allocations: 11.98 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/1.015, allocations: 3.984 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/1.015, allocations: 0 / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/1.015, allocations: 4 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.015, allocations: 3.938 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/1.015, allocations: 195.4 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.399e-05/1.015, allocations: 81.06 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/1.015, allocations: 0 / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/1.015, allocations: 15.97 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/1.015, allocations: 8 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/1.015, allocations: 3.938 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.242e-05/1.015, allocations: 91.27 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.9e-07/1.015, allocations: 0 / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000214/1.016, allocations: 8 kB / 1.171 GB, free: 14.91 MB / 0.9044 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.0001443/1.016, allocations: 99.25 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003341/1.016, allocations: 67.86 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/1.016, allocations: 8 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/1.016, allocations: 39.95 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/1.017, allocations: 6.594 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/1.017, allocations: 125.4 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/1.017, allocations: 0.6846 MB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.912e-05/1.017, allocations: 0 / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/1.017, allocations: 11.44 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of SimCode: time 3.81e-07/1.017, allocations: 0 / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of Templates: time 0.002891/1.02, allocations: 0.6792 MB / 1.173 GB, free: 13.15 MB / 0.9044 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=480 -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