Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008364/0.008364, allocations: 101.2 kB / 15.73 MB, free: 5.996 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.001375/0.001375, allocations: 189.2 kB / 16.67 MB, free: 5.918 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.668/2.668, allocations: 469.8 MB / 0.7425 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 72.03 kB / 1.065 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8888/0.8903, allocations: 159.1 MB / 1.221 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001994/0.8923, allocations: 0.7055 MB / 1.221 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009545/0.8933, allocations: 0.8001 MB / 1.222 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.106e-05/0.8933, allocations: 3.938 kB / 1.222 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.759e-05/0.8933, allocations: 0 / 1.222 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.247e-05/0.8934, allocations: 11.86 kB / 1.222 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.894e-05/0.8935, allocations: 15.98 kB / 1.222 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.573e-05/0.8936, allocations: 39.86 kB / 1.222 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.8937, allocations: 11.98 kB / 1.222 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.519e-05/0.8937, allocations: 11.98 kB / 1.222 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.646e-05/0.8938, allocations: 23.92 kB / 1.222 GB, free: 484 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.8938, allocations: 4 kB / 1.222 GB, free: 480 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.144e-06/0.8938, allocations: 4 kB / 1.222 GB, free: 476 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.8938, allocations: 19.91 kB / 1.222 GB, free: 456 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.881e-05/0.8939, allocations: 11.94 kB / 1.222 GB, free: 444 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.039e-05/0.8939, allocations: 39.81 kB / 1.222 GB, free: 404 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.894, allocations: 4 kB / 1.222 GB, free: 400 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.473e-06/0.894, allocations: 0 / 1.222 GB, free: 400 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.894, allocations: 0 / 1.222 GB, free: 400 kB / 0.9356 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.0005339/0.8945, allocations: 372 kB / 1.223 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.8945, allocations: 15.97 kB / 1.223 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.8946, allocations: 8.891 kB / 1.223 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.8947, allocations: 160.4 kB / 1.223 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.8947, allocations: 4.375 kB / 1.223 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.8947, allocations: 384 / 1.223 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.895, allocations: 70.2 kB / 1.223 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.895, allocations: 192 / 1.223 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.895, allocations: 3.938 kB / 1.223 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.895, allocations: 8 kB / 1.223 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002753/0.8953, allocations: 59.94 kB / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003565/0.8956, allocations: 272.8 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.8958, allocations: 62.47 kB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.896, allocations: 36.92 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.896, allocations: 0 / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.896, allocations: 34.55 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.896, allocations: 0 / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005115/0.8965, allocations: 129.5 kB / 1.224 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.8966, allocations: 55.41 kB / 1.224 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.387e-05/0.8966, allocations: 105.8 kB / 1.224 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.8967, allocations: 25.7 kB / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.124e-05/0.8967, allocations: 88.14 kB / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.8967, allocations: 19.83 kB / 1.224 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/0.8968, allocations: 17.72 kB / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.8969, allocations: 318.8 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.897, allocations: 27.95 kB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.8972, allocations: 35.97 kB / 1.224 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/0.8974, allocations: 69.06 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.8974, allocations: 3.938 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003208/0.8977, allocations: 105.5 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.8978, allocations: 11.94 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.8978, allocations: 0 / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.8978, allocations: 4 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.8979, allocations: 15.97 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.8979, allocations: 0 / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.199e-05/0.898, allocations: 15.94 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.898, allocations: 0 / 1.224 GB, free: 14.05 MB / 0.9512 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 9.733e-05/0.8981, allocations: 113.8 kB / 1.225 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.8981, allocations: 0 / 1.225 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.115e-05/0.8982, allocations: 15.91 kB / 1.225 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.8982, allocations: 0 / 1.225 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.8982, allocations: 0 / 1.225 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.8982, allocations: 0 / 1.225 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.8984, allocations: 173.6 kB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.8984, allocations: 0 / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.8985, allocations: 19.92 kB / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.8985, allocations: 0 / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.8985, allocations: 0 / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.8985, allocations: 0 / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.8985, allocations: 320 / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004062/0.8989, allocations: 203.4 kB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/0.899, allocations: 81.11 kB / 1.225 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.899, allocations: 0 / 1.225 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.8991, allocations: 11.98 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.8991, allocations: 7.984 kB / 1.225 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.8991, allocations: 0 / 1.225 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.469e-05/0.8992, allocations: 91.27 kB / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.8992, allocations: 0 / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002196/0.8994, allocations: 4 kB / 1.225 GB, free: 13.24 MB / 0.9512 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.0001431/0.8996, allocations: 111.2 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003292/0.8999, allocations: 75.86 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8999, allocations: 0 / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.9, allocations: 31.97 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.9004, allocations: 15.86 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003912/0.9008, allocations: 125.4 kB / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.901, allocations: 0.6845 MB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.114e-05/0.9011, allocations: 0 / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.907e-05/0.9011, allocations: 11.44 kB / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of SimCode: time 5.31e-07/0.9011, allocations: 3.938 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of Templates: time 0.003053/0.9041, allocations: 0.6831 MB / 1.227 GB, free: 11.45 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches