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.001355/0.001355, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001677/0.001677, allocations: 199.8 kB / 16.26 MB, free: 6.621 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.453/1.453, allocations: 222.9 MB / 239.9 MB, free: 4.555 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.565/2.565, allocations: 437 MB / 0.71 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 59.91 kB / 0.8687 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8552/0.8569, allocations: 151.6 MB / 1.017 GB, free: 2.844 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001996/0.859, allocations: 0.7666 MB / 1.018 GB, free: 2.078 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008513/0.8599, allocations: 0.8001 MB / 1.018 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.371e-05/0.8599, allocations: 11.94 kB / 1.018 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.985e-05/0.86, allocations: 0 / 1.018 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.975e-05/0.86, allocations: 3.938 kB / 1.018 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.833e-05/0.8601, allocations: 7.984 kB / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.104e-05/0.8602, allocations: 47.86 kB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.8603, allocations: 7.984 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.609e-05/0.8603, allocations: 12 kB / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.942e-05/0.8604, allocations: 23.91 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.8604, allocations: 8 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-06/0.8604, allocations: 0 / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.8604, allocations: 11.94 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.152e-05/0.8605, allocations: 19.92 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.269e-05/0.8606, allocations: 35.86 kB / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.8606, allocations: 4 kB / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8606, allocations: 7.875 kB / 1.019 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.8606, allocations: 0 / 1.019 GB, free: 1.066 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.0005208/0.8611, allocations: 373.4 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.8612, allocations: 8.031 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.72e-05/0.8612, allocations: 4.938 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.8613, allocations: 164.3 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.8613, allocations: 4.375 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.8613, allocations: 8.375 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.8616, allocations: 62.22 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.8616, allocations: 192 / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.8616, allocations: 11.94 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.8616, allocations: 4 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002576/0.8619, allocations: 63.86 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.8623, allocations: 261 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.8625, allocations: 66.47 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.8626, allocations: 32.92 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.8626, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.8627, allocations: 34.56 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 2.204e-06/0.8627, allocations: 4 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004971/0.8632, allocations: 133.4 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.8632, allocations: 55.41 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.144e-05/0.8633, allocations: 105.8 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.8633, allocations: 25.7 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.331e-05/0.8634, allocations: 92.14 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.8634, allocations: 11.83 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.8634, allocations: 13.72 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.8635, allocations: 318.8 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.8637, allocations: 31.97 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.8638, allocations: 35.95 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.8641, allocations: 72.72 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.8641, allocations: 3.938 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002904/0.8644, allocations: 97.86 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.8644, allocations: 8 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.8644, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.8644, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.8646, allocations: 15.98 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.8646, allocations: 3.938 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.449e-05/0.8647, allocations: 11.97 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.8647, allocations: 7.984 kB / 1.021 GB, free: 14.74 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 7.809e-05/0.8648, allocations: 117.8 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.8648, allocations: 4 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.8648, allocations: 3.906 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.8648, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.8648, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.8648, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.865, allocations: 181.5 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.865, allocations: 3.938 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.516e-05/0.8651, allocations: 15.98 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.8651, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.8651, allocations: 4 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.8652, allocations: 4 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.8652, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003452/0.8655, allocations: 199.4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/0.8656, allocations: 77.11 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.8656, allocations: 4 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.8657, allocations: 11.98 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.8657, allocations: 7.984 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.8658, allocations: 4 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.163e-05/0.8658, allocations: 83.28 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8658, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002129/0.866, allocations: 11.91 kB / 1.021 GB, free: 13.92 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.00016/0.8662, allocations: 107.2 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003202/0.8665, allocations: 71.91 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8665, allocations: 0 / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.8667, allocations: 31.97 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.867, allocations: 19.88 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.8673, allocations: 133.5 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.8676, allocations: 0.6807 MB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.239e-05/0.8677, allocations: 0 / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.032e-05/0.8677, allocations: 15.44 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of SimCode: time 1.483e-06/0.8677, allocations: 0 / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of Templates: time 0.002623/0.8703, allocations: 0.5714 MB / 1.023 GB, free: 12.24 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=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