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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009433/0.0009434, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001035/0.001035, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 223.3 MB / 240 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.89/2.89, allocations: 437.7 MB / 0.7117 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005822/0.0005823, allocations: 15.94 kB / 0.8722 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9315/0.9321, allocations: 153.8 MB / 1.022 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001016/0.9332, allocations: 426.2 kB / 1.023 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.9343, allocations: 0.8001 MB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.391e-05/0.9343, allocations: 0 / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.926e-05/0.9344, allocations: 0 / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.639e-05/0.9345, allocations: 7.922 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 7.894e-05/0.9345, allocations: 11.98 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.9347, allocations: 39.84 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.9348, allocations: 8 kB / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.481e-05/0.9349, allocations: 15.98 kB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.357e-05/0.935, allocations: 15.92 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.935, allocations: 0 / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.188e-06/0.935, allocations: 4 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.935, allocations: 7.922 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.183e-05/0.9351, allocations: 33.7 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.516e-05/0.9351, allocations: 19.94 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.9352, allocations: 0 / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.765e-06/0.9352, allocations: 0 / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.9352, allocations: 4 kB / 1.024 GB, free: 14.63 MB / 0.7794 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.0005746/0.9358, allocations: 369.2 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.9358, allocations: 12.03 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.9359, allocations: 3.906 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.936, allocations: 175 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.936, allocations: 4 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.936, allocations: 3.938 kB / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.9363, allocations: 81.61 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.9363, allocations: 0 / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.9363, allocations: 4 kB / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.9364, allocations: 0 / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002772/0.9366, allocations: 87.92 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.9371, allocations: 272.8 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.9373, allocations: 70.48 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.9374, allocations: 52.84 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.9375, allocations: 0 / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.9375, allocations: 34.56 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.9375, allocations: 0 / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005246/0.938, allocations: 161.6 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.9381, allocations: 59.34 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.263e-05/0.9382, allocations: 109.8 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.9382, allocations: 25.7 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.755e-05/0.9383, allocations: 88.14 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.9383, allocations: 11.75 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.9383, allocations: 0 / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.9384, allocations: 318.8 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.9386, allocations: 43.97 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.9387, allocations: 39.97 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.9389, allocations: 43.95 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.9389, allocations: 3.953 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003082/0.9392, allocations: 117.9 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.9392, allocations: 9.094 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.9392, allocations: 0 / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.9393, allocations: 48 / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.9394, allocations: 31.91 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.9394, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.564e-05/0.9395, allocations: 19.97 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.9395, allocations: 0 / 1.026 GB, free: 12.21 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.709e-05/0.9396, allocations: 117.8 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.9396, allocations: 7.859 kB / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.589e-05/0.9397, allocations: 11.91 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.9397, allocations: 0 / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.9397, allocations: 4 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.9397, allocations: 0 / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.9399, allocations: 169.6 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.9399, allocations: 0 / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.169e-05/0.94, allocations: 19.94 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.94, allocations: 4 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.94, allocations: 3.938 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.94, allocations: 4 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.94, allocations: 0 / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003577/0.9404, allocations: 219.4 kB / 1.026 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/0.9404, allocations: 81.02 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.9404, allocations: 7.953 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.596e-05/0.9405, allocations: 11.98 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/0.9406, allocations: 11.98 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-06/0.9406, allocations: 3.938 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.574e-05/0.9407, allocations: 87.59 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9407, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002161/0.9409, allocations: 4 kB / 1.027 GB, free: 11.36 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 (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.0001451/0.941, allocations: 107.2 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003269/0.9414, allocations: 87.92 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.9414, allocations: 0 / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.9415, allocations: 51.91 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.9419, allocations: 6.25 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003185/0.9422, allocations: 132.7 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.9425, allocations: 0.6809 MB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.452e-05/0.9425, allocations: 0 / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.9425, allocations: 11.44 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.9425, allocations: 0 / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of Templates: time 0.002834/0.9454, allocations: 0.5157 MB / 1.028 GB, free: 9.715 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