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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 165 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.938/2.938, allocations: 389 MB / 0.633 GB, free: 1.008 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.474e-06/2.474e-06, allocations: 0 / 1 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.617e-05/3.864e-05, allocations: 10.22 kB / 1 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002114/0.002152, allocations: 0.6892 MB / 1.001 GB, free: 6.523 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.003385, allocations: 0.8237 MB / 1.002 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.944e-05/0.003434, allocations: 4 kB / 1.002 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.669e-05/0.003481, allocations: 7.938 kB / 1.002 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.815e-05/0.003569, allocations: 11.92 kB / 1.002 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 7.563e-05/0.003644, allocations: 7.984 kB / 1.002 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.003749, allocations: 51.84 kB / 1.002 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.003875, allocations: 4 kB / 1.002 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.003975, allocations: 19.97 kB / 1.002 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.028e-05/0.004025, allocations: 19.92 kB / 1.002 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.004049, allocations: 4 kB / 1.002 GB, free: 5.559 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.223e-05/0.004062, allocations: 4 kB / 1.002 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.004081, allocations: 7.938 kB / 1.002 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.415e-05/0.004115, allocations: 23.91 kB / 1.002 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.004231, allocations: 39.92 kB / 1.002 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.004234, allocations: 0 / 1.002 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.81e-07/0.004235, allocations: 0 / 1.002 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.004241, allocations: 0 / 1.002 GB, free: 5.484 MB / 0.9512 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.0006257/0.004867, allocations: 286.2 kB / 1.002 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.004916, allocations: 12.03 kB / 1.002 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.004953, allocations: 4.891 kB / 1.002 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.00508, allocations: 113.7 kB / 1.002 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.005096, allocations: 4.375 kB / 1.002 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.005111, allocations: 4.375 kB / 1.002 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.005387, allocations: 70.2 kB / 1.002 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.005398, allocations: 192 / 1.002 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.005407, allocations: 384 / 1.002 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.005411, allocations: 384 / 1.002 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/0.00572, allocations: 79.73 kB / 1.002 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/0.00611, allocations: 208.6 kB / 1.003 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.006323, allocations: 50.48 kB / 1.003 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.006485, allocations: 40.91 kB / 1.003 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.0065, allocations: 0 / 1.003 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/0.006544, allocations: 34.5 kB / 1.003 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 2.976e-06/0.006547, allocations: 4 kB / 1.003 GB, free: 4.477 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005922/0.007139, allocations: 133.5 kB / 1.003 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.007192, allocations: 51.41 kB / 1.003 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.007312, allocations: 117.8 kB / 1.003 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.007329, allocations: 25.7 kB / 1.003 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.644e-05/0.007396, allocations: 88.14 kB / 1.003 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.007418, allocations: 11.89 kB / 1.003 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.007455, allocations: 13.72 kB / 1.003 GB, free: 4 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.007614, allocations: 318.8 kB / 1.003 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.007786, allocations: 31.97 kB / 1.004 GB, free: 3.648 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.007978, allocations: 39.89 kB / 1.004 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.008285, allocations: 64.8 kB / 1.004 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.008287, allocations: 0 / 1.004 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003532/0.00864, allocations: 101.6 kB / 1.004 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.008659, allocations: 11.94 kB / 1.004 GB, free: 3.426 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.008665, allocations: 0 / 1.004 GB, free: 3.426 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.008684, allocations: 0 / 1.004 GB, free: 3.426 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.008819, allocations: 15.98 kB / 1.004 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.008825, allocations: 4 kB / 1.004 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.011e-05/0.008905, allocations: 7.984 kB / 1.004 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.008915, allocations: 4 kB / 1.004 GB, free: 3.395 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 0.000105/0.00902, allocations: 113.8 kB / 1.004 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.00905, allocations: 7.984 kB / 1.004 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/0.00908, allocations: 7.938 kB / 1.004 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.009082, allocations: 0 / 1.004 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.009087, allocations: 336 / 1.004 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.00909, allocations: 4 kB / 1.004 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.009244, allocations: 113.3 kB / 1.004 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.009244, allocations: 0 / 1.004 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.009356, allocations: 15.98 kB / 1.004 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.00936, allocations: 7.922 kB / 1.004 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.009369, allocations: 0 / 1.004 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.009372, allocations: 3.938 kB / 1.004 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.009373, allocations: 0 / 1.004 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004068/0.00978, allocations: 199.4 kB / 1.004 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.366e-05/0.009794, allocations: 4 kB / 1.004 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.009826, allocations: 4 kB / 1.004 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.009936, allocations: 15.92 kB / 1.004 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/0.00999, allocations: 15.86 kB / 1.004 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.009994, allocations: 0 / 1.004 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.051e-05/0.01005, allocations: 87.27 kB / 1.004 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.01005, allocations: 0 / 1.004 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002203/0.01027, allocations: 8 kB / 1.004 GB, free: 2.738 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.0001564/0.01043, allocations: 99.23 kB / 1.004 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003684/0.0108, allocations: 67.92 kB / 1.004 GB, free: 2.566 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.0108, allocations: 0 / 1.004 GB, free: 2.566 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.01096, allocations: 31.97 kB / 1.005 GB, free: 2.535 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.0113, allocations: 15.98 kB / 1.005 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003773/0.01168, allocations: 136.6 kB / 1.005 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.5e-05/0.01174, allocations: 63.34 kB / 1.005 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.935e-05/0.01177, allocations: 4 kB / 1.005 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.01181, allocations: 8.5 kB / 1.005 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of SimCode: time 3.31e-07/0.01181, allocations: 0 / 1.005 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of Templates: time 0.003562/0.01537, allocations: 0.7343 MB / 1.005 GB, free: 1.543 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.315433319658041]