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.0008473/0.0008473, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001161/0.002008, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007421/0.0007421, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009597/0.001702, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.122/1.122, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1009/1.223, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.459/2.459, allocations: 447.1 MB / 0.675 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2532/2.712, allocations: 146 MB / 0.8176 GB, free: 3.832 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 1.603e-06/1.603e-06, allocations: 0 / 0.819 GB, free: 2.438 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.571e-05, allocations: 6.25 kB / 0.819 GB, free: 2.43 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001426/0.001452, allocations: 0.7575 MB / 0.8197 GB, free: 1.668 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006576/0.00211, allocations: 0.8508 MB / 0.8206 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.784e-05/0.002137, allocations: 4 kB / 0.8206 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.208e-05/0.002159, allocations: 0 / 0.8206 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.639e-05/0.002196, allocations: 11.86 kB / 0.8206 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 5.1e-05/0.002247, allocations: 15.98 kB / 0.8206 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.623e-05/0.002323, allocations: 39.86 kB / 0.8206 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.95e-05/0.002403, allocations: 7.984 kB / 0.8206 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.188e-05/0.002494, allocations: 27.92 kB / 0.8207 GB, free: 0.6992 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.722e-05/0.002532, allocations: 19.97 kB / 0.8207 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.002552, allocations: 8 kB / 0.8207 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.294e-06/0.002559, allocations: 4 kB / 0.8207 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.672e-05/0.002576, allocations: 7.938 kB / 0.8207 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.921e-05/0.002595, allocations: 12 kB / 0.8207 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 7.635e-05/0.002672, allocations: 31.78 kB / 0.8208 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.203e-05/0.002684, allocations: 4 kB / 0.8208 GB, free: 0.6133 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.42e-07/0.002685, allocations: 0 / 0.8208 GB, free: 0.6133 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.434e-05/0.002699, allocations: 0 / 0.8208 GB, free: 0.6133 MB / 0.7917 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.000379/0.003078, allocations: 252.5 kB / 0.821 GB, free: 348 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.00311, allocations: 12.03 kB / 0.821 GB, free: 336 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.558e-05/0.003135, allocations: 8.938 kB / 0.821 GB, free: 328 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.366e-05/0.003219, allocations: 113.7 kB / 0.8211 GB, free: 188 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.00323, allocations: 4.375 kB / 0.8211 GB, free: 184 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.00324, allocations: 384 / 0.8211 GB, free: 184 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.003355, allocations: 62.94 kB / 0.8212 GB, free: 112 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.003361, allocations: 4.172 kB / 0.8212 GB, free: 108 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.003368, allocations: 384 / 0.8212 GB, free: 108 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.003374, allocations: 4.375 kB / 0.8212 GB, free: 104 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.062e-05/0.003394, allocations: 11.88 kB / 0.8212 GB, free: 92 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002058/0.0036, allocations: 152.3 kB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.44e-05/0.003654, allocations: 26.58 kB / 0.8214 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.734e-05/0.003672, allocations: 12.84 kB / 0.8214 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-06/0.003679, allocations: 0 / 0.8214 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.0037, allocations: 34.5 kB / 0.8214 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 6.81e-07/0.003701, allocations: 3.938 kB / 0.8214 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001259/0.003827, allocations: 49.78 kB / 0.8215 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.003861, allocations: 51.41 kB / 0.8215 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.155e-05/0.003932, allocations: 114.9 kB / 0.8216 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.003944, allocations: 25.7 kB / 0.8217 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/0.003981, allocations: 84.12 kB / 0.8217 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.004001, allocations: 15.91 kB / 0.8218 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.004029, allocations: 17.7 kB / 0.8218 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.123e-05/0.004121, allocations: 314.8 kB / 0.8221 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.311e-05/0.004134, allocations: 3.984 kB / 0.8221 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.131e-05/0.004145, allocations: 4 kB / 0.8221 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.777e-05/0.004173, allocations: 12.8 kB / 0.8221 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.004176, allocations: 0 / 0.8221 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.694e-05/0.004233, allocations: 45.69 kB / 0.8221 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.004249, allocations: 4 kB / 0.8221 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.004255, allocations: 0 / 0.8221 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.004272, allocations: 7.938 kB / 0.8221 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.941e-05/0.004371, allocations: 11.98 kB / 0.8222 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.004378, allocations: 8.062 kB / 0.8222 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.489e-05/0.004403, allocations: 7.984 kB / 0.8222 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-06/0.004408, allocations: 0 / 0.8222 GB, free: 15 MB / 0.8073 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 6.187e-05/0.00447, allocations: 105.8 kB / 0.8223 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.004484, allocations: 7.938 kB / 0.8223 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.795e-05/0.004512, allocations: 8 kB / 0.8223 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.004516, allocations: 3.938 kB / 0.8223 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.004517, allocations: 0 / 0.8223 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.00452, allocations: 4 kB / 0.8223 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.004622, allocations: 73.88 kB / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.004624, allocations: 0 / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.274e-05/0.004657, allocations: 11.98 kB / 0.8224 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.004668, allocations: 11.89 kB / 0.8224 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.004669, allocations: 0 / 0.8224 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.004674, allocations: 0 / 0.8224 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.004675, allocations: 0 / 0.8224 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.004678, allocations: 3.938 kB / 0.8224 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.004784, allocations: 139.5 kB / 0.8225 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.004794, allocations: 0 / 0.8225 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.543e-05/0.00483, allocations: 11.98 kB / 0.8225 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.004871, allocations: 12.3 kB / 0.8226 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.004875, allocations: 7.938 kB / 0.8226 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.04e-05/0.004896, allocations: 16.84 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.1e-08/0.004896, allocations: 0 / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001146/0.00501, allocations: 4 kB / 0.8226 GB, free: 14.54 MB / 0.8073 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.0001125/0.005123, allocations: 76.42 kB / 0.8227 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.58e-05/0.005189, allocations: 20.83 kB / 0.8227 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.005195, allocations: 4 kB / 0.8227 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.832e-05/0.005224, allocations: 12.86 kB / 0.8227 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.005417, allocations: 67.39 kB / 0.8228 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000388/0.005805, allocations: 136.5 kB / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.43e-05/0.00584, allocations: 55.36 kB / 0.8229 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.29e-05/0.005862, allocations: 0 / 0.8229 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.804e-05/0.00592, allocations: 59.36 kB / 0.823 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of SimCode: time 6.91e-07/0.005921, allocations: 4 kB / 0.823 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of Templates: time 0.002169/0.008091, allocations: 0.7017 MB / 0.8237 GB, free: 13.34 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.378173142671585]