Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0017/0.0017, allocations: 115.2 kB / 17.13 MB, free: 6.004 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.002496/0.002496, allocations: 212.3 kB / 20.1 MB, free: 3.055 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.531/1.531, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.873/2.873, allocations: 0.49 GB / 0.7923 GB, free: 1.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 75.91 kB / 1.15 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9499/0.952, allocations: 176.1 MB / 1.322 GB, free: 25.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001747/0.9537, allocations: 0.7156 MB / 1.323 GB, free: 24.62 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008033/0.9545, allocations: 0.8341 MB / 1.324 GB, free: 23.98 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.847e-05/0.9546, allocations: 0 / 1.324 GB, free: 23.98 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.344e-05/0.9546, allocations: 3.938 kB / 1.324 GB, free: 23.98 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.9547, allocations: 3.938 kB / 1.324 GB, free: 23.98 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.886e-05/0.9547, allocations: 21.23 kB / 1.324 GB, free: 23.96 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.986e-05/0.9548, allocations: 40.55 kB / 1.324 GB, free: 23.95 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.9549, allocations: 9.938 kB / 1.324 GB, free: 23.94 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.435e-05/0.955, allocations: 24.66 kB / 1.324 GB, free: 23.93 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.643e-05/0.9551, allocations: 24.27 kB / 1.324 GB, free: 23.91 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.9551, allocations: 5.75 kB / 1.324 GB, free: 23.91 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-06/0.9551, allocations: 2.562 kB / 1.324 GB, free: 23.91 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.9551, allocations: 4 kB / 1.324 GB, free: 23.91 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.962e-05/0.9551, allocations: 20.38 kB / 1.324 GB, free: 23.9 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.878e-05/0.9552, allocations: 37.78 kB / 1.324 GB, free: 23.89 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.9552, allocations: 6.656 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9552, allocations: 0 / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.9552, allocations: 0 / 1.324 GB, free: 23.88 MB / 1.061 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.0004942/0.9557, allocations: 368.2 kB / 1.324 GB, free: 23.51 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.9558, allocations: 11.98 kB / 1.324 GB, free: 23.51 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.9558, allocations: 3.812 kB / 1.324 GB, free: 23.51 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.707e-05/0.9559, allocations: 174.3 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.9559, allocations: 384 / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.9559, allocations: 6.906 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.9562, allocations: 72.5 kB / 1.324 GB, free: 23.26 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.9562, allocations: 192 / 1.324 GB, free: 23.26 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.9562, allocations: 3.938 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.9562, allocations: 2.688 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002968/0.9565, allocations: 63.91 kB / 1.324 GB, free: 23.24 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/0.9568, allocations: 263.1 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.9569, allocations: 53.27 kB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.9571, allocations: 48.62 kB / 1.325 GB, free: 22.91 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.9571, allocations: 2.688 kB / 1.325 GB, free: 22.91 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.9571, allocations: 34.55 kB / 1.325 GB, free: 22.87 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.9571, allocations: 0 / 1.325 GB, free: 22.87 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005151/0.9576, allocations: 137.3 kB / 1.325 GB, free: 22.81 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.9577, allocations: 51.41 kB / 1.325 GB, free: 22.75 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.91e-05/0.9577, allocations: 106.1 kB / 1.325 GB, free: 22.65 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.086e-06/0.9577, allocations: 29.64 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.961e-05/0.9578, allocations: 90.5 kB / 1.325 GB, free: 22.53 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.9578, allocations: 11.84 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.962e-05/0.9578, allocations: 16.72 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.923e-05/0.9579, allocations: 321.1 kB / 1.326 GB, free: 22.18 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.958, allocations: 34.69 kB / 1.326 GB, free: 22.17 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.9581, allocations: 30.48 kB / 1.326 GB, free: 22.17 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000259/0.9584, allocations: 64.83 kB / 1.326 GB, free: 22.15 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.9584, allocations: 3.938 kB / 1.326 GB, free: 22.15 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003009/0.9587, allocations: 100.2 kB / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.9587, allocations: 5.969 kB / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.9587, allocations: 0 / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.9587, allocations: 0 / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.9589, allocations: 15.14 kB / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.9589, allocations: 3.938 kB / 1.326 GB, free: 22.1 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.894e-05/0.959, allocations: 24.52 kB / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.959, allocations: 2.656 kB / 1.326 GB, free: 22.09 MB / 1.061 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 5.238e-05/0.959, allocations: 109.8 kB / 1.326 GB, free: 21.97 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.959, allocations: 6.922 kB / 1.326 GB, free: 21.97 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.353e-05/0.9591, allocations: 7.906 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.9591, allocations: 3.031 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.9591, allocations: 3.422 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.9591, allocations: 0 / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.9592, allocations: 173.1 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.9592, allocations: 0 / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.119e-05/0.9593, allocations: 14.84 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.9593, allocations: 2.688 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.9593, allocations: 0 / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.9593, allocations: 0 / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.9593, allocations: 0 / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/0.9596, allocations: 203.4 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.982e-05/0.9597, allocations: 83.78 kB / 1.326 GB, free: 21.5 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.9597, allocations: 0 / 1.326 GB, free: 21.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.9598, allocations: 15.11 kB / 1.326 GB, free: 21.49 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.9598, allocations: 3.328 kB / 1.326 GB, free: 21.49 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.9598, allocations: 2.875 kB / 1.326 GB, free: 21.49 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.918e-05/0.9598, allocations: 96.06 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9598, allocations: 0 / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002237/0.9601, allocations: 5.812 kB / 1.326 GB, free: 21.41 MB / 1.061 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.0001159/0.9602, allocations: 97.59 kB / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003461/0.9605, allocations: 67.23 kB / 1.327 GB, free: 21.31 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.9605, allocations: 4 kB / 1.327 GB, free: 21.31 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.9607, allocations: 45.55 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.961, allocations: 12.09 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002787/0.9613, allocations: 150.3 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.9614, allocations: 0.6846 MB / 1.328 GB, free: 20.45 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.9614, allocations: 14.25 kB / 1.328 GB, free: 20.43 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.9614, allocations: 0 / 1.328 GB, free: 20.43 MB / 1.061 GB Notification: Performance of Templates: time 0.002183/0.9636, allocations: 0.7408 MB / 1.328 GB, free: 20.39 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.264727941001183]