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.008601/0.008601, allocations: 101.7 kB / 15.73 MB, free: 6.004 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.001629/0.00163, allocations: 198.9 kB / 16.68 MB, free: 5.926 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.785/2.785, allocations: 461.8 MB / 0.7347 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 71.89 kB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3962, allocations: 157.4 MB / 1.208 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002018/0.3983, allocations: 0.7002 MB / 1.208 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009693/0.3992, allocations: 0.8039 MB / 1.209 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.848e-05/0.3993, allocations: 0 / 1.209 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.148e-05/0.3993, allocations: 0 / 1.209 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.746e-05/0.3994, allocations: 11.86 kB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.527e-05/0.3995, allocations: 11.98 kB / 1.209 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.573e-05/0.3996, allocations: 47.84 kB / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.3998, allocations: 11.98 kB / 1.209 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.613e-05/0.3998, allocations: 19.98 kB / 1.209 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.411e-05/0.3999, allocations: 15.92 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3999, allocations: 4 kB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.172e-05/0.3999, allocations: 4 kB / 1.209 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.104e-05/0.4, allocations: 11.92 kB / 1.209 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.24e-05/0.4, allocations: 15.94 kB / 1.209 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.441e-05/0.4001, allocations: 47.78 kB / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.4001, allocations: 0 / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4001, allocations: 3.938 kB / 1.209 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.4001, allocations: 4 kB / 1.209 GB, free: 7.871 MB / 0.9669 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.0005496/0.4007, allocations: 363.4 kB / 1.21 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.4007, allocations: 8.625 kB / 1.21 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.4008, allocations: 8.844 kB / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.4009, allocations: 176.2 kB / 1.21 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.4009, allocations: 4.375 kB / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.4009, allocations: 384 / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.4012, allocations: 78.2 kB / 1.21 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.4012, allocations: 192 / 1.21 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.4012, allocations: 3.938 kB / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.4012, allocations: 0 / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002922/0.4015, allocations: 67.86 kB / 1.21 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.4019, allocations: 257 kB / 1.21 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.4021, allocations: 62.47 kB / 1.21 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.4023, allocations: 36.92 kB / 1.21 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.4023, allocations: 0 / 1.21 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.4024, allocations: 38.55 kB / 1.211 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.4024, allocations: 0 / 1.211 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005686/0.4029, allocations: 129.5 kB / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/0.403, allocations: 51.41 kB / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.348e-05/0.4031, allocations: 113.8 kB / 1.211 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.4031, allocations: 25.7 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.685e-05/0.4032, allocations: 92.03 kB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.4032, allocations: 7.906 kB / 1.211 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.4033, allocations: 9.719 kB / 1.211 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4034, allocations: 318.8 kB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.4036, allocations: 39.89 kB / 1.211 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.4037, allocations: 27.97 kB / 1.211 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.404, allocations: 72.72 kB / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.404, allocations: 3.938 kB / 1.211 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003116/0.4043, allocations: 101.6 kB / 1.211 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.4044, allocations: 4 kB / 1.211 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.4044, allocations: 4 kB / 1.211 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.4044, allocations: 0 / 1.211 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.4045, allocations: 19.97 kB / 1.211 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.4045, allocations: 0 / 1.211 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.724e-05/0.4046, allocations: 15.89 kB / 1.211 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.4046, allocations: 4 kB / 1.211 GB, free: 5.543 MB / 0.9669 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.931e-05/0.4047, allocations: 117.8 kB / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.4048, allocations: 0 / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.4048, allocations: 7.906 kB / 1.212 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.4048, allocations: 4.328 kB / 1.212 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.4048, allocations: 0 / 1.212 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.4048, allocations: 3.984 kB / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.405, allocations: 165.6 kB / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.405, allocations: 7.922 kB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.817e-05/0.4051, allocations: 15.98 kB / 1.212 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4051, allocations: 0 / 1.212 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.4051, allocations: 8 kB / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4051, allocations: 0 / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.4052, allocations: 0 / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003798/0.4055, allocations: 199.3 kB / 1.212 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.854e-05/0.4056, allocations: 81.05 kB / 1.212 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.4056, allocations: 4 kB / 1.212 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.4057, allocations: 11.98 kB / 1.212 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.4058, allocations: 7.984 kB / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-06/0.4058, allocations: 0 / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.474e-05/0.4058, allocations: 83.28 kB / 1.212 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4058, allocations: 4 kB / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002109/0.4061, allocations: 8 kB / 1.212 GB, free: 4.727 MB / 0.9669 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.000186/0.4062, allocations: 107.2 kB / 1.212 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003389/0.4066, allocations: 63.92 kB / 1.212 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4066, allocations: 0 / 1.212 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.4068, allocations: 39.97 kB / 1.212 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.4071, allocations: 11.92 kB / 1.212 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.4075, allocations: 145.1 kB / 1.213 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.4078, allocations: 0.6845 MB / 1.213 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.171e-05/0.4078, allocations: 4 kB / 1.213 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.4078, allocations: 15.44 kB / 1.213 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.4079, allocations: 0 / 1.213 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of Templates: time 0.003032/0.4109, allocations: 0.6932 MB / 1.214 GB, free: 2.914 MB / 0.9669 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/jenkins/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