Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001292/0.001293, allocations: 113.5 kB / 16.42 MB, free: 6.441 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.00122/0.00122, allocations: 190.5 kB / 17.35 MB, free: 5.738 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.639/2.639, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 67.89 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8801/0.8814, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002374/0.8838, allocations: 0.7039 MB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.885, allocations: 0.7962 MB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.099e-05/0.885, allocations: 0 / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.526e-05/0.8851, allocations: 3.938 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.555e-05/0.8852, allocations: 3.938 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 7.889e-05/0.8852, allocations: 15.98 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.8854, allocations: 43.86 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.8855, allocations: 15.98 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.062e-05/0.8856, allocations: 19.91 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.069e-05/0.8857, allocations: 23.92 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.8857, allocations: 4 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.104e-05/0.8858, allocations: 4 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.282e-05/0.8858, allocations: 11.92 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.758e-05/0.8858, allocations: 11.94 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.8859, allocations: 35.88 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/0.886, allocations: 7.984 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.845e-06/0.886, allocations: 0 / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.886, allocations: 3.938 kB / 1.21 GB, free: 11.92 MB / 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.0006216/0.8866, allocations: 363.2 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.8867, allocations: 8.031 kB / 1.211 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.8867, allocations: 8.844 kB / 1.211 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.8868, allocations: 174.1 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.8869, allocations: 8.375 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.8869, allocations: 384 / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.8872, allocations: 74.14 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.8872, allocations: 192 / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.8872, allocations: 3.938 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.8872, allocations: 4 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002912/0.8875, allocations: 67.92 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003635/0.8879, allocations: 264.9 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.8881, allocations: 62.42 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.8882, allocations: 40.91 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.8883, allocations: 0 / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.8883, allocations: 34.56 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.8883, allocations: 0 / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005303/0.8888, allocations: 125.6 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.8889, allocations: 51.41 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.965e-05/0.889, allocations: 109.8 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.889, allocations: 29.7 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.143e-05/0.889, allocations: 92.03 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.8891, allocations: 11.84 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.8891, allocations: 13.72 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.8892, allocations: 314.8 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.8894, allocations: 39.95 kB / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.8895, allocations: 23.97 kB / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.8898, allocations: 73.06 kB / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.8898, allocations: 4 kB / 1.212 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003072/0.8901, allocations: 101.5 kB / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.8902, allocations: 5.719 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.8902, allocations: 3.938 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.8902, allocations: 0 / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.8903, allocations: 19.97 kB / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.8903, allocations: 0 / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.684e-05/0.8904, allocations: 19.92 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.8904, allocations: 4 kB / 1.212 GB, free: 9.59 MB / 0.9356 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.208e-05/0.8905, allocations: 113.8 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.8905, allocations: 7.906 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.717e-05/0.8906, allocations: 3.906 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.8906, allocations: 3.984 kB / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.8906, allocations: 0 / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.82e-05/0.8906, allocations: 81.11 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.8907, allocations: 4 kB / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.8908, allocations: 11.98 kB / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.8908, allocations: 15.86 kB / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004011/0.8912, allocations: 180.8 kB / 1.213 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003655/0.8916, allocations: 274.7 kB / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00015/0.8918, allocations: 31.97 kB / 1.213 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.737e-05/0.8918, allocations: 87.27 kB / 1.213 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of Backend: time 3.91e-07/0.8918, allocations: 8 kB / 1.213 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005174/0.8923, allocations: 114.4 kB / 1.213 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005497/0.8929, allocations: 0.5726 MB / 1.214 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of Templates: time 0.003072/0.896, allocations: 0.8545 MB / 1.215 GB, free: 7.137 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches